Skip to content

Commit

Permalink
Update button label from "Create a Quiz" to "Create a Question" (#152)
Browse files Browse the repository at this point in the history
* fix(dashboard): update button label from "Create a Quiz" to "Create a Question"

* fix(dashboard): update comment to reflect navigation to create question page
  • Loading branch information
yunho7687 authored Feb 27, 2025
1 parent abd45c4 commit ac7c886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/pages/dashboard/question/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ function Index() {
setAndPush({ search: newSearch, page: 1 });
}}
/>
{/* Button to navigate to the create quiz page */}
{/* Button to navigate to the create question page */}
<Button asChild className="mr-6">
<Link href={`${router.pathname}/create`}>Create a Quiz</Link>
<Link href={`${router.pathname}/create`}>Create a Question</Link>
</Button>
</div>

Expand Down

0 comments on commit ac7c886

Please sign in to comment.