Commit d9878696 authored by Lee Soobeom's avatar Lee Soobeom
Browse files

posting

parent 07970434
...@@ -78,7 +78,7 @@ export default function Posting() { ...@@ -78,7 +78,7 @@ export default function Posting() {
setLoading(true); setLoading(true);
if (file) { if (file) {
const postRes = await sendImg2Db(file); const postRes = await sendImg2Db(file);
navigate("/board", { replace: true, state: postRes }); navigate("/posts", { replace: true, state: postRes });
} }
setSuccess(true); setSuccess(true);
setError(""); setError("");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment