Yuki Takei 9 달 전
부모
커밋
57b1632962
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/app/src/client/components/PageEditor/LinkEditModal.tsx

+ 1 - 1
apps/app/src/client/components/PageEditor/LinkEditModal.tsx

@@ -34,7 +34,7 @@ const logger = loggerFactory('growi:components:LinkEditModal');
 
 export const LinkEditModal = (): JSX.Element => {
   const { t } = useTranslation();
-  const [currentPath] = useCurrentPagePath();
+  const currentPath = useCurrentPagePath();
   const { data: rendererOptions } = usePreviewOptions();
   const { data: linkEditModalStatus, close } = useLinkEditModal();