diff --git a/web/app/components/base/notion-page-selector/page-selector/index.tsx b/web/app/components/base/notion-page-selector/page-selector/index.tsx index 8f3d80b2aa..c3fa9a3484 100644 --- a/web/app/components/base/notion-page-selector/page-selector/index.tsx +++ b/web/app/components/base/notion-page-selector/page-selector/index.tsx @@ -310,7 +310,7 @@ const PageSelector = ({ copyValue.add(pageId) } - onSelect(new Set(copyValue)) + onSelect(copyValue) }, [listMapWithChildrenAndDescendants, onSelect, searchValue, value]) const handlePreview = useCallback((pageId: string) => { diff --git a/web/app/components/datasets/documents/create-from-pipeline/data-source/online-documents/page-selector/index.tsx b/web/app/components/datasets/documents/create-from-pipeline/data-source/online-documents/page-selector/index.tsx index ad6b2a6da8..894135b00b 100644 --- a/web/app/components/datasets/documents/create-from-pipeline/data-source/online-documents/page-selector/index.tsx +++ b/web/app/components/datasets/documents/create-from-pipeline/data-source/online-documents/page-selector/index.tsx @@ -171,7 +171,7 @@ const PageSelector = ({ } } - onSelect(new Set(copyValue)) + onSelect(copyValue) }, [checkedIds, isMultipleChoice, listMapWithChildrenAndDescendants, onSelect, searchValue]) // Stable callback