Skip to content

Commit

Permalink
Fix #6: remove case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedkhaleel2004 committed Feb 13, 2025
1 parent 1493a1d commit ff21af1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/[username]/[repo]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ export default function Repo() {
handleCloseApiKeyDialog,
handleOpenApiKeyDialog,
handleExportImage,
} = useDiagram(params.username, params.repo);
} = useDiagram(params.username.toLowerCase(), params.repo.toLowerCase());

return (
<div className="flex min-h-screen flex-col items-center p-4">
<div className="flex w-full justify-center pt-8">
<MainCard
isHome={false}
username={params.username}
repo={params.repo}
username={params.username.toLowerCase()}
repo={params.repo.toLowerCase()}
showCustomization={!loading && !error}
onModify={handleModify}
onRegenerate={handleRegenerate}
Expand Down

0 comments on commit ff21af1

Please sign in to comment.