diff --git a/src/App.tsx b/src/App.tsx index 90fbd0a..d6084a5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -179,31 +179,38 @@ export default function App() {
Loading…
- ) : view === 'grid' ? ( -
- {stores.length === 0 ? ( -
- No stores found. Try adjusting your filters. -
- ) : ( - stores.map(s => ( - + No stores found. Try adjusting your filters. +
+ ) : ( + <> + {/* Mobile: always cards */} +
+ {stores.map(s => ( + + ))} +
+ + {/* Desktop: toggle between table and grid */} +
+ {view === 'grid' ? ( +
+ {stores.map(s => ( + + ))} +
+ ) : ( + - )) - )} -
- ) : ( - + )} + + )} {pagination && (