diff --git a/SOPOLAST/src/Components/Sidewrite/write.tsx b/SOPOLAST/src/Components/Sidewrite/write.tsx index a616736..a4b11c7 100644 --- a/SOPOLAST/src/Components/Sidewrite/write.tsx +++ b/SOPOLAST/src/Components/Sidewrite/write.tsx @@ -1,4 +1,5 @@ import React from "react"; +import { useState, ChangeEvent, FormEvent } from "react"; import axios from "axios"; import Head from "../../constants/head/Head/head"; import Side from "../../constants/Sidebar/Side/side"; @@ -6,7 +7,7 @@ import ImgPlus from "src/Assets/image/imgplus.png"; import SubmitImg from "src/Assets/image/submitimg.png"; import * as s from "./Write.style"; import { showToast } from "src/constants/Swal/Swal"; -import UseWrite from "src/hooks/Wirte/useWirte" +import UseWrite from "src/hooks/Write/useWirte" const Sidewrite = () => { const { @@ -65,7 +66,6 @@ const Sidewrite = () => { onChange={handleChangeImg} > - @@ -96,7 +96,6 @@ const Sidewrite = () => { onChange={(e) => setContent(e.target.value)} > - {/* {fileName &&
{fileName}
} */} diff --git a/SOPOLAST/src/hooks/Wirte/useWirte.ts b/SOPOLAST/src/hooks/Write/useWirte.ts similarity index 100% rename from SOPOLAST/src/hooks/Wirte/useWirte.ts rename to SOPOLAST/src/hooks/Write/useWirte.ts