Explorar o código

Fixed linting

Taichi Masuyama %!s(int64=4) %!d(string=hai) anos
pai
achega
d374cbf4ca
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>
         {/* TODO: i18n */}
         <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>
       <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>
           { t('private_legacy_pages.modal.button_label') }
         </button>