From 28069183661da3d703ba69c308d94c316d21181c Mon Sep 17 00:00:00 2001 From: "H. Kamran" Date: Thu, 19 Dec 2024 06:26:47 -0800 Subject: [PATCH] Remove sorting override (#97) --- src/components/table.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/table.jsx b/src/components/table.jsx index a803db8..8ffcefb 100644 --- a/src/components/table.jsx +++ b/src/components/table.jsx @@ -21,7 +21,7 @@ function Table({ Category, Title, search, grid }) { fetch(`${API_URL}/${region || 'int/'}${Category}.json`, { cache: 'force-cache' }). then(res => res.json()). - then(data => setEntries(Object.entries(data).sort() || [])). + then(data => setEntries(Object.entries(data) || [])). catch(err => console.error('Error fetching categories:', err)); // Add error handling } else setEntries(search);