mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 09:44:53 +01:00
Fixing issue with Toast message appearing twice
This commit is contained in:
parent
ad096d4347
commit
a20d6d82f0
@ -27,7 +27,7 @@ export default function FileInput({
|
|||||||
<Button
|
<Button
|
||||||
style="primary"
|
style="primary"
|
||||||
size="small"
|
size="small"
|
||||||
onClick={(e: React.SyntheticEvent) => handleButtonClick(e, field.value)}
|
onClick={(e: React.SyntheticEvent) => e.preventDefault()}
|
||||||
disabled={!field.value}
|
disabled={!field.value}
|
||||||
>
|
>
|
||||||
{isLoading ? <Loader /> : 'Add File'}
|
{isLoading ? <Loader /> : 'Add File'}
|
||||||
|
Loading…
Reference in New Issue
Block a user