gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant-backoffice] 02/02: fixing lint


From: gnunet
Subject: [taler-merchant-backoffice] 02/02: fixing lint
Date: Mon, 24 May 2021 16:22:58 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository merchant-backoffice.

commit 04d55d15f20200f45c5dad4ab2054c09c426d180
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon May 24 11:22:30 2021 -0300

    fixing lint
---
 packages/frontend/src/components/modal/index.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/packages/frontend/src/components/modal/index.tsx 
b/packages/frontend/src/components/modal/index.tsx
index baf8bb5..747019c 100644
--- a/packages/frontend/src/components/modal/index.tsx
+++ b/packages/frontend/src/components/modal/index.tsx
@@ -93,7 +93,7 @@ export function ClearConfirmModal({ description, onCancel, 
onClear, onConfirm, c
         {children}
       </section>
       <footer class="modal-card-foot">
-        {onClear && <button class="button is-danger" onClick={onClear} 
disabled={onClear === undefined} ><Translate>Clear</Translate></button> }
+        {onClear && <button class="button is-danger" onClick={onClear} 
disabled={onClear === undefined} ><Translate>Clear</Translate></button>}
         <div class="buttons is-right" style={{ width: '100%' }}>
           <button class="button " onClick={onCancel} 
><Translate>Cancel</Translate></button>
           <button class="button is-info" onClick={onConfirm} 
disabled={onConfirm === undefined} ><Translate>Confirm</Translate></button>
@@ -153,9 +153,9 @@ export function UpdateTokenModal({ onCancel, onClear, 
onConfirm, oldToken }: Upd
       <div class="column" />
       <div class="column is-four-fifths" >
         <FormProvider errors={errors} object={form} valueHandler={setValue}>
-          { oldToken && <Input<State> name="old_token" label={i18n`Old token`} 
tooltip={i18n`token currently in use`} inputType="password"/> }
-          <Input<State> name="new_token" label={i18n`New token`} 
tooltip={i18n`next token to be used`} inputType="password"/>
-          <Input<State> name="repeat_token" label={i18n`Repeat token`} 
tooltip={i18n`confirm the same token`} inputType="password"/>
+          {oldToken && <Input<State> name="old_token" label={i18n`Old token`} 
tooltip={i18n`token currently in use`} inputType="password" />}
+          <Input<State> name="new_token" label={i18n`New token`} 
tooltip={i18n`next token to be used`} inputType="password" />
+          <Input<State> name="repeat_token" label={i18n`Repeat token`} 
tooltip={i18n`confirm the same token`} inputType="password" />
         </FormProvider>
         <p><Translate>Clearing the auth token will mean public access to the 
instance</Translate></p>
       </div>

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]