update some ui changes
This commit is contained in:
@@ -35,6 +35,12 @@ export type Resource<T> = AsyncState<T> & {
|
||||
* wrong countdown to any user whose device clock is off.
|
||||
*/
|
||||
meta?: ApiMeta;
|
||||
/**
|
||||
* TEMPORARY — set by useSampleFallback() when the real endpoint had nothing
|
||||
* and an example is on screen instead. PanelCard shows the "Sample data"
|
||||
* token from it. Goes with shared/mocks.
|
||||
*/
|
||||
isSample?: boolean;
|
||||
};
|
||||
|
||||
/** What the fetch resolved to, tagged with the request it belongs to. */
|
||||
|
||||
Reference in New Issue
Block a user