Skip to content

Commit

Permalink
feat: restrict to upload on add-journal when fee exceeds total price #…
Browse files Browse the repository at this point in the history
  • Loading branch information
arealclimber committed Aug 9, 2024
1 parent 3bb27bc commit 3c1c9b8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/new_journal_form/new_journal_form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1334,12 +1334,7 @@ const NewJournalForm = () => {
>
{t('JOURNAL.CLEAR_ALL')}
</button>
<Button
id="upload-btn"
type="submit"
className="px-16px py-8px"
// disabled={isUploadDisabled}
>
<Button id="upload-btn" type="submit" className="px-16px py-8px" disabled={isFeeValid}>
<p>{t('JOURNAL.UPLOAD')}</p>
<svg
width="20"
Expand Down

0 comments on commit 3c1c9b8

Please sign in to comment.