Skip to content

Commit

Permalink
use client 추가
Browse files Browse the repository at this point in the history
use client 추가
  • Loading branch information
phyuna0525 authored Mar 14, 2024
2 parents 68156e0 + bd26990 commit f984e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/common/modal/selfStudyTeacher.tsx/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SelfStudyModal.tsx
"use client";
import React, { useState } from "react";
import moment from "moment";
import Button from "../../Button";
Expand Down Expand Up @@ -47,7 +47,7 @@ const SelfStudyModal: React.FC<ModalProps> = ({
await postTeacherMutate(postData, {
onSuccess: () => {
console.log("success");
onSuccess()
onSuccess();
},
onError: (error) => {
console.log(error);
Expand Down

0 comments on commit f984e45

Please sign in to comment.