فهرست منبع

fix lint error

Yuki Takei 4 سال پیش
والد
کامیت
9a314c2643
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      packages/app/src/components/PageEditor/LinkEditModal.jsx

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

@@ -282,8 +282,8 @@ class LinkEditModal extends React.PureComponent {
   }
 
   renderLinkAndLabelForm() {
-    const { t, pageContainer } = this.props;
-    const pagePath = pageContainer.state.path;
+    const { t } = this.props;
+    const { pagePath } = this.state;
 
     return (
       <>