(
message: ReactNode,
{ timer = 5000, ...props }: NotifyOptionalProps = {},
)
| 76 | client.setQueryData(TOAST_NOTIF_KEY, data); |
| 77 | |
| 78 | const displayToast = ( |
| 79 | message: ReactNode, |
| 80 | { timer = 5000, ...props }: NotifyOptionalProps = {}, |
| 81 | ) => setToastNotification({ message, timer, ...props }); |
| 82 | |
| 83 | return useMemo( |
| 84 | () => ({ |