Skip to content

Commit

Permalink
[Fix] 글 수정시 undefined로 가지는 문제 해결 close #566
Browse files Browse the repository at this point in the history
  • Loading branch information
developerjhp committed Mar 18, 2022
1 parent 7675900 commit 1746657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/PostEdit/PostEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function PostEditor({
const editorRef = useRef<Editor>(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)',
Expand Down

0 comments on commit 1746657

Please sign in to comment.