From 1746657531c7f8e757a658332cbe929195eb7085 Mon Sep 17 00:00:00 2001 From: Jinhyun Park Date: Fri, 18 Mar 2022 18:56:08 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20=EA=B8=80=20=EC=88=98=EC=A0=95=EC=8B=9C?= =?UTF-8?q?=20undefined=EB=A1=9C=20=EA=B0=80=EC=A7=80=EB=8A=94=20=EB=AC=B8?= =?UTF-8?q?=EC=A0=9C=20=ED=95=B4=EA=B2=B0=20close=20#566?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/PostEdit/PostEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/PostEdit/PostEditor.tsx b/client/src/components/PostEdit/PostEditor.tsx index 7411403..d07261d 100644 --- a/client/src/components/PostEdit/PostEditor.tsx +++ b/client/src/components/PostEdit/PostEditor.tsx @@ -35,7 +35,7 @@ export default function PostEditor({ const editorRef = useRef(null); const navigate = useNavigate(); const currentUrl = window.location.href; - const urlId = currentUrl.split('&postId=')[1]; + const urlId = currentUrl.split('postId=')[1]; const isTablet = useMediaQuery({ query: '(min-width : 768px) and (max-width :1024px)',