소스 검색

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 (
       <>