Skip to content

Commit

Permalink
Merge pull request #567 from developerjhp/Fix/editToUndefined-566
Browse files Browse the repository at this point in the history
[Fix] 글 수정시 undefined로 가지는 문제 해결 close #566
  • Loading branch information
developerjhp authored Mar 18, 2022
2 parents 7675900 + 1746657 commit ce3d2fd
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 ce3d2fd

Please sign in to comment.