feat: add resource for first login
This commit is contained in:
@@ -4,10 +4,18 @@ import { DashboardProps } from './types';
|
||||
export const DashboardContext = createContext<
|
||||
DashboardProps & {
|
||||
fetchData: (params?: { [key: string]: any }) => Promise<void>;
|
||||
clusterList: Global.BaseOption<
|
||||
number,
|
||||
{ provider: string; state: string | number }
|
||||
>[];
|
||||
}
|
||||
>(
|
||||
{} as DashboardProps & {
|
||||
fetchData: (params?: { [key: string]: any }) => Promise<void>;
|
||||
clusterList: Global.BaseOption<
|
||||
number,
|
||||
{ provider: string; state: string | number }
|
||||
>[];
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user