Browse Source

use elint-disable-next-line

ryoji-s 4 năm trước cách đây
mục cha
commit
d25b63b76e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/app/src/components/CreateTemplateModal.jsx

+ 1 - 1
packages/app/src/components/CreateTemplateModal.jsx

@@ -9,7 +9,7 @@ import urljoin from 'url-join';
 const CreateTemplateModal = (props) => {
   const { t } = useTranslation();
   // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
-  const { path } = props!;
+  const { path } = props;
 
   const parentPath = pathUtils.addTrailingSlash(path);