Răsfoiți Sursa

remove default path

kaori 3 ani în urmă
părinte
comite
51512da767

+ 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} />;
 });