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)',