Skip to content

Commit bd12373

Browse files
committed
⚙️ Merge branch 'main' of github.com:pheralb/react-symbols into next
2 parents 15c1e5d + 5ab8cb7 commit bd12373

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

website/app/components/card/openWithv0.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ const OpenWithV0 = ({ itemName, isFolder }: OpenWithV0Props) => {
1515
title="Open with v0"
1616
href={
1717
!isFolder
18-
? `${appConfig.v0URL}${appConfig.registryUrl}${itemName}.json`
19-
: `${appConfig.v0URL}${appConfig.registryUrl}folders/${itemName}.json`
18+
? `${appConfig.v0URL}${appConfig.registryUrl}${itemName.toLowerCase()}.json`
19+
: `${appConfig.v0URL}${appConfig.registryUrl}folders/${itemName.toLowerCase()}.json`
2020
}
2121
className={buttonVariants({
2222
variant: "ghost",

website/generate-registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const processFiles = (
9292

9393
const outputFilePath = path.join(
9494
target,
95-
`${nameWithoutExtension}.json`,
95+
`${nameWithoutExtension.toLowerCase()}.json`,
9696
);
9797
fs.writeFileSync(outputFilePath, JSON.stringify(json, null, 2), "utf8");
9898
totalUpdated++;

0 commit comments

Comments
 (0)