chore: handle refetch after created

This commit is contained in:
Joel
2026-01-12 11:30:03 +08:00
parent 221130b448
commit 163540bf4a

View File

@ -106,9 +106,10 @@ const List: FC<Props> = ({
} = useInfiniteAppList(appListQueryParams, { enabled: !isCurrentWorkspaceDatasetOperator }) } = useInfiniteAppList(appListQueryParams, { enabled: !isCurrentWorkspaceDatasetOperator })
useEffect(() => { useEffect(() => {
if (controlRefreshList > 0) if (controlRefreshList > 0) {
console.log('mute') refetch()
// mutate() }
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [controlRefreshList]) }, [controlRefreshList])
const anchorRef = useRef<HTMLDivElement>(null) const anchorRef = useRef<HTMLDivElement>(null)