mirror of
https://mirror.skon.top/github.com/langgenius/dify.git
synced 2026-04-20 15:20:15 +08:00
fix(web): prevent infinite render loop on /apps page (#35393)
This commit is contained in:
@@ -185,7 +185,7 @@ const List: FC<Props> = ({
|
||||
setQuery(prev => ({ ...prev, isCreatedByMe: newValue }))
|
||||
}, [isCreatedByMe, setQuery])
|
||||
|
||||
const pages = data?.pages ?? []
|
||||
const pages = useMemo(() => data?.pages ?? [], [data?.pages])
|
||||
const appIds = useMemo(() => {
|
||||
const ids = new Set<string>()
|
||||
pages.forEach((page) => {
|
||||
|
||||
Reference in New Issue
Block a user