Browse Source

fix lint error

Yuki Takei 4 years ago
parent
commit
9a314c2643
1 changed files with 2 additions and 2 deletions
  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 (
       <>