From 510c60dde045fc7a1c80be721515d91d3ad8dcc5 Mon Sep 17 00:00:00 2001 From: Ellen Kraffmiller Date: Tue, 17 Dec 2024 12:47:11 -0500 Subject: [PATCH] fix: typescript error --- .../collection/collection-items-panel/CollectionItemsPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sections/collection/collection-items-panel/CollectionItemsPanel.tsx b/src/sections/collection/collection-items-panel/CollectionItemsPanel.tsx index 1b464bef0..e2fc19cc7 100644 --- a/src/sections/collection/collection-items-panel/CollectionItemsPanel.tsx +++ b/src/sections/collection/collection-items-panel/CollectionItemsPanel.tsx @@ -183,7 +183,7 @@ export const CollectionItemsPanel = ({ } } - const handleSortChange = async (sort: SortType, order: OrderType) => { + const handleSortChange = async (sort?: SortType, order?: OrderType) => { itemsListContainerRef.current?.scrollTo({ top: 0 }) const resetPaginationInfo = new CollectionItemsPaginationInfo()