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 })
useEffect(() => {
if (controlRefreshList > 0)
console.log('mute')
// mutate()
if (controlRefreshList > 0) {
refetch()
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [controlRefreshList])
const anchorRef = useRef<HTMLDivElement>(null)