fix(ux): preserve localized save errors and current language retries
This commit is contained in:
@@ -101,3 +101,7 @@ export function useToast(): ToastApi {
|
||||
if (!v) throw new Error("useToast must be used within ToastProvider");
|
||||
return v;
|
||||
}
|
||||
|
||||
export function useOptionalToast() {
|
||||
return useContext(ToastContext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user