fix(web): complete some ts type (#1148)
This commit is contained in:
parent
642842d61b
commit
38b9901274
5 changed files with 15 additions and 15 deletions
|
|
@ -12,7 +12,7 @@ export type DatasetsContextValue = {
|
|||
const DatasetsContext = createContext<DatasetsContextValue>({
|
||||
datasets: [],
|
||||
mutateDatasets: () => {},
|
||||
currentDataset: undefined
|
||||
currentDataset: undefined,
|
||||
})
|
||||
|
||||
export const useDatasetsContext = () => useContext(DatasetsContext)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue