mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
refactor: use the other function for submitting
This commit is contained in:
parent
8b067ad5b4
commit
f8cf7f7ae5
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ const AddItem = ({ onCancel, handleAddUrl }: Props) => {
|
|||
onSubmit={onSumbit}
|
||||
/>
|
||||
<div className={styles['actions']}>
|
||||
<Button className={styles['add']} onClick={handleAddUrl}>
|
||||
<Button className={styles['add']} onClick={onSumbit}>
|
||||
<Icon name={'checkmark'} className={styles['icon']} />
|
||||
</Button>
|
||||
<Button className={styles['cancel']} onClick={onCancel}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue