diff --git a/imports/client/components/PuzzleListPage.tsx b/imports/client/components/PuzzleListPage.tsx index 201635f0c..7805e529e 100644 --- a/imports/client/components/PuzzleListPage.tsx +++ b/imports/client/components/PuzzleListPage.tsx @@ -373,6 +373,7 @@ const PuzzleListView = ({ const renderList = useCallback( ( retainedPuzzles: PuzzleType[], + retainedDeletedPuzzles: PuzzleType[] | undefined, solvedOverConstrains: boolean, allPuzzlesCount: number, ) => { @@ -475,11 +476,11 @@ const PuzzleListView = ({ )} {listComponent} - {deletedPuzzles && deletedPuzzles.length > 0 && ( + {retainedDeletedPuzzles && retainedDeletedPuzzles.length > 0 && ( @@ -637,7 +639,12 @@ const PuzzleListView = ({ - {renderList(retainedPuzzles, solvedOverConstrains, allPuzzles.length)} + {renderList( + retainedPuzzles, + retainedDeletedPuzzles, + solvedOverConstrains, + allPuzzles.length, + )} ); };