Skip to content

Commit 9be5cdc

Browse files
fix retriving tools wihout selecting categories
1 parent 766ee03 commit 9be5cdc

File tree

10 files changed

+1
-2
lines changed

10 files changed

+1
-2
lines changed

app/components/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const EnAccessToolMap = ({ setIsModalOpen }: EnAccessToolMapProps) => {
108108

109109
const filteredTools = useMemo(() => {
110110
if (selectedCategories.length === 0 && !searchTerm) {
111-
return tools
111+
return []
112112
}
113113

114114
return tools.filter((tool) => {

public/banner.png

-31.4 KB
Binary file not shown.

public/image1.png

-8.98 KB
Binary file not shown.

public/image2.png

-6.74 KB
Binary file not shown.

public/image3.png

-10.3 KB
Binary file not shown.

public/image4.png

-12.9 KB
Binary file not shown.

public/image5.png

-24.1 KB
Binary file not shown.

public/next.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/supporter1.ico

-264 KB
Binary file not shown.

public/supporter1.jpg

-235 KB
Binary file not shown.

0 commit comments

Comments
 (0)