kaori 3 лет назад
Родитель
Сommit
51512da767
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/app/src/components/PageEditor/LinkEditModal.jsx

+ 1 - 1
packages/app/src/components/PageEditor/LinkEditModal.jsx

@@ -463,7 +463,7 @@ class LinkEditModal extends React.PureComponent {
 
 const LinkEditModalFc = React.forwardRef((props, ref) => {
   const { t } = useTranslation();
-  const { data: currentPath = '' } = useCurrentPagePath();
+  const { data: currentPath } = useCurrentPagePath();
   return <LinkEditModal t={t} ref={ref} pagePath={currentPath} {...props} />;
 });