Skip to content

Commit

Permalink
Merge pull request #15 from codegasms/add-new-contest
Browse files Browse the repository at this point in the history
Fix route typo in Button onClick handler
  • Loading branch information
myselfaryan authored Dec 3, 2024
2 parents 3408328 + 1fa6c0d commit 15c44ac
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 16 deletions.
2 changes: 1 addition & 1 deletion components/contestlist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function ContestListPage() {
className="w-64"
/>
</div>
<Button onClick={() => router.push('/contests/create')}>
<Button onClick={() => router.push('/contest/create')}>
Add New Contest
</Button>
</div>
Expand Down
163 changes: 148 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 15c44ac

Please sign in to comment.