feat: cluster_count on dashboard
This commit is contained in:
@@ -2,7 +2,13 @@ import { createContext } from 'react';
|
||||
import { DashboardProps } from './types';
|
||||
|
||||
export const DashboardContext = createContext<
|
||||
DashboardProps & { fetchData: () => Promise<void> }
|
||||
>({} as DashboardProps & { fetchData: () => Promise<void> });
|
||||
DashboardProps & {
|
||||
fetchData: (params?: { [key: string]: any }) => Promise<void>;
|
||||
}
|
||||
>(
|
||||
{} as DashboardProps & {
|
||||
fetchData: (params?: { [key: string]: any }) => Promise<void>;
|
||||
}
|
||||
);
|
||||
|
||||
export default DashboardContext;
|
||||
|
||||
Reference in New Issue
Block a user