fix(web): resolve TypeScript type errors in workflow components (#27086)

This commit is contained in:
GuanMu
2025-10-18 23:09:00 +08:00
committed by GitHub
parent ac79691d69
commit cf7ff76165
6 changed files with 6 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ const DatasetsDetailProvider: FC<DatasetsDetailProviderProps> = ({
nodes,
children,
}) => {
const storeRef = useRef<DatasetsDetailStoreApi>()
const storeRef = useRef<DatasetsDetailStoreApi>(undefined)
if (!storeRef.current)
storeRef.current = createDatasetsDetailStore()