mirror of
https://github.com/langgenius/dify.git
synced 2026-01-14 06:07:33 +08:00
chore: handle refetch after created
This commit is contained in:
parent
221130b448
commit
163540bf4a
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user