0c41c45903
There's a bug where the onSuccess property of SWRConfiguration causes a crashed when it is undefined. Seems to be fixed in later versions, so doing a simple upgrade patches the problem. This issue caused the Dashboard to show nothing.
6 lines
109 B
TypeScript
6 lines
109 B
TypeScript
declare type GetResponses<T> = {
|
|
data: T | undefined;
|
|
error: Error | undefined;
|
|
isLoading: boolean;
|
|
};
|