Explorar o código

Fixed linting

Taichi Masuyama %!s(int64=4) %!d(string=hai) anos
pai
achega
120b7d9a7e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/app/src/components/PrivateLegacyPages.tsx

+ 2 - 2
packages/app/src/components/PrivateLegacyPages.tsx

@@ -146,10 +146,10 @@ const ConvertByPathModal = React.memo((props: ConvertByPathModalProps): JSX.Elem
       <ModalBody>
       <ModalBody>
         {/* TODO: i18n */}
         {/* TODO: i18n */}
         <p>{t('modal_description')}</p>
         <p>{t('modal_description')}</p>
-        <input type="text" className="form-control" placeholder="/" value={currentInput} onChange={(e) => setInput(e.target.value)} />
+        <input type="text" className="form-control" placeholder="/" value={currentInput} onChange={ e => setInput(e.target.value) } />
       </ModalBody>
       </ModalBody>
       <ModalFooter>
       <ModalFooter>
-        <button type="button" className="btn btn-primary" onSubmit={(e) => {e.preventDefault();props.onSubmit?.(currentInput);}}>
+        <button type="button" className="btn btn-primary" onSubmit={ e => { e.preventDefault(); props.onSubmit?.(currentInput) } }>
           <i className="icon-fw icon-refresh" aria-hidden="true"></i>
           <i className="icon-fw icon-refresh" aria-hidden="true"></i>
           { t('private_legacy_pages.modal.button_label') }
           { t('private_legacy_pages.modal.button_label') }
         </button>
         </button>