psychedelicious ca07449fb4 fix(ui): add typeguard for action.payload
In the latest redux, unknown actions are typed as `unknown`. This forces type-safety upon us, requiring us to be more careful about the shape of actions.

In this case, we don't know if the rejection has a payload or what shape it may be in, so we need to do runtime checks. This is implemented with a simple zod schema, but probably the right way to handle this is to have consistent types in our RTK-Query error logic.
2023-12-09 16:09:26 +11:00
..
2023-11-20 18:48:17 +11:00
2023-12-09 16:00:37 +11:00
2023-07-28 09:46:44 -04:00
2023-12-09 16:03:09 +11:00
2023-05-11 11:55:51 +10:00
2023-12-09 16:00:37 +11:00
2023-03-03 00:02:15 -05:00
2023-12-09 16:09:26 +11:00
2023-12-09 16:09:26 +11:00