-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4941b50
commit 44009bc
Showing
17 changed files
with
311 additions
and
34 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { useMutation } from '@tanstack/react-query' | ||
|
||
import { createChallenge } from '@/app/_service/challenge' | ||
|
||
export const useCreateChallengeMutation = () => { | ||
return useMutation({ | ||
mutationFn: createChallenge, | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export default function CheckBoxIcon() { | ||
return ( | ||
<svg xmlns='http://www.w3.org/2000/svg' width='17' height='16' viewBox='0 0 17 16' fill='none'> | ||
<circle cx='8.5' cy='8' r='8' fill='#482BD9' /> | ||
<path | ||
d='M12.3167 4.84014C12.2638 4.78512 12.2009 4.74145 12.1315 4.71165C12.0621 4.68185 11.9877 4.6665 11.9126 4.6665C11.8374 4.6665 11.763 4.68185 11.6937 4.71165C11.6243 4.74145 11.5613 4.78512 11.5084 4.84014L7.2676 9.2191L5.48588 7.37594C5.43093 7.32121 5.36607 7.27818 5.295 7.2493C5.22393 7.22041 5.14804 7.20625 5.07166 7.20761C4.99527 7.20897 4.9199 7.22584 4.84984 7.25724C4.77978 7.28864 4.7164 7.33396 4.66333 7.39062C4.61025 7.44728 4.56852 7.51416 4.54051 7.58745C4.5125 7.66074 4.49877 7.739 4.50009 7.81776C4.50141 7.89652 4.51776 7.97425 4.54821 8.04649C4.57866 8.11874 4.62261 8.18409 4.67756 8.23882L6.86344 10.4929C6.91635 10.5479 6.97931 10.5916 7.04868 10.6214C7.11805 10.6512 7.19245 10.6665 7.2676 10.6665C7.34274 10.6665 7.41714 10.6512 7.48651 10.6214C7.55588 10.5916 7.61884 10.5479 7.67175 10.4929L12.3167 5.70301C12.3745 5.64805 12.4206 5.58133 12.4522 5.50708C12.4837 5.43283 12.5 5.35264 12.5 5.27157C12.5 5.19051 12.4837 5.11032 12.4522 5.03607C12.4206 4.96182 12.3745 4.8951 12.3167 4.84014Z' | ||
fill='white' | ||
/> | ||
</svg> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.