make update item toast closeable

This commit is contained in:
Anton Tranelis 2025-12-17 08:12:31 +01:00
parent 4adba2e455
commit 4fa004aebe

View File

@ -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) {