mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-01-20 20:01:18 +00:00
make update item toast closeable
This commit is contained in:
parent
4adba2e455
commit
4fa004aebe
@ -34,6 +34,7 @@ const handleApiOperation = async (
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
autoClose: 5000,
|
autoClose: 5000,
|
||||||
|
closeButton: true,
|
||||||
})
|
})
|
||||||
return { success: true, data }
|
return { success: true, data }
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user