Skip to content

Commit

Permalink
๐Ÿ“ Chore(#152): ์ฝ”๋“œ ๋ฆฌ๋ทฐ ๋ฐ˜์˜
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongWuk committed Nov 13, 2023
1 parent d1c7360 commit 4963312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/(user-menu)/mypage/template/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const CreateTemplatePage = () => {
const { toast } = useToast();
const router = useRouter();

const validateQuestion = (content: string) => {
const handleAddQuestion = (content: string) => {
if (content === "") {
toast({
description: "์งˆ๋ฌธ์€ 1๋ฒˆ์— 1๊ฐœ์”ฉ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”.",
Expand Down Expand Up @@ -71,7 +71,7 @@ const CreateTemplatePage = () => {
ํ…œํ”Œ๋ฆฟ ์ƒ์„ฑ
<Button
className={`${buttonSize.lg} bg-st-primary text-st-white`}
onClick={() => validateQuestion(content)}
onClick={() => handleAddQuestion(content)}
>
์งˆ๋ฌธ ์ถ”๊ฐ€
</Button>
Expand Down

0 comments on commit 4963312

Please sign in to comment.