fix(web): complete some ts type (#1148)

This commit is contained in:
Rhon Joe 2023-09-11 09:30:17 +08:00 • committed by GitHub
commit 38b9901274
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 15 deletions

View file

@ -12,7 +12,7 @@ export type DatasetsContextValue = {
const DatasetsContext = createContext<DatasetsContextValue>({
datasets: [],
mutateDatasets: () => {},
currentDataset: undefined
currentDataset: undefined,
})
export const useDatasetsContext = () => useContext(DatasetsContext)