kaori пре 3 година
родитељ
комит
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} />;
 });