fix(web): prevent infinite render loop on /apps page (#35393)

This commit is contained in:
yyh authored and GitHub committed 2026-04-20 00:41:01 +00:00
1 parent 059d605a6d
commit b351ab00a2
1 file changed
+1 -1
+1 -1
View File
@@ -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) => {