Skip to content

Commit

Permalink
Merge pull request #84 from opherlabs/main
Browse files Browse the repository at this point in the history
fix card clse redirect url
  • Loading branch information
mitch1009 authored Sep 19, 2024
2 parents 95d7057 + 210dd3a commit ca9b263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/src/components/QuizCards/QuizComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const QuizComponent: React.FC<FileDetailProps> = ({ files, url }) => {
>
<button
className="absolute top-4 right-4 bg-red-600 p-2 rounded-full text-white text-3xl"
onClick={() => router.push("/cards")}
onClick={() => router.push(`/${url}`)}
>
<FaTimes />
</button>
Expand Down

0 comments on commit ca9b263

Please sign in to comment.