import React from "react"; import {useShopStore} from "./shop_store"; export function LegendItem({icon, description}) { return ( {description}/ {description} ) } export function Legend() { const legend = useShopStore(state => state.legend); return {legend.map((item, i) => )}
}