Skip to content

Commit dbd582d

Browse files
authored
chore: lowercase github username (#54)
1 parent ae700a7 commit dbd582d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/result/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { ArrowLeftIcon } from "@radix-ui/react-icons"
1313

1414
const Page = () => {
1515
const searchParams = useSearchParams()
16-
const username = searchParams.get("username")
16+
const username = searchParams.get("username")?.toLowerCase()
1717
const {
1818
handleFilterToggle,
1919
memoizedIssues,
@@ -48,7 +48,7 @@ const Page = () => {
4848
/>
4949
</button>
5050
<div className="flex gap-2 flex-col md:justify-between md:items-center md:flex-row">
51-
<h2 className=" text-black capitalize">
51+
<h2 className="text-black">
5252
{username} contributions
5353
</h2>
5454
<section className="">

0 commit comments

Comments
 (0)