market box reduction

This commit was merged in pull request #740.
This commit is contained in:
victorAnumudu
2024-06-24 11:32:57 +01:00
parent 00a70f3574
commit b589277678
6 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export default function MainSection({
);
const [tab, setTab] = useState(Object.keys(marketCategories)[0]);
let [contentDisplay, setContentDisplay] = useState("list"); // STATE TO HOLD LIST VIEW STYLE
let [contentDisplay, setContentDisplay] = useState("grid"); // STATE TO HOLD LIST VIEW STYLE
// Convert to array in order to map
const mappedArray = Object.entries(marketCategories).map(([key, value]) => {