()
| 6 | const navigation = ['Home', 'Sale', 'New', 'Shirts', 'Stickers'] |
| 7 | |
| 8 | function ShoppingCartNavItemFallback() { |
| 9 | return ( |
| 10 | <Link href="/cart" className="group -m-2 flex items-center p-2"> |
| 11 | <ShoppingCartIcon className="h-6 w-6 flex-shrink-0 text-gray-400 group-hover:text-gray-500" /> |
| 12 | <span className="ml-2 w-3 h-4 rounded text-sm font-medium bg-gray-200" /> |
| 13 | </Link> |
| 14 | ) |
| 15 | } |
| 16 | |
| 17 | async function ShoppingCartNavItem() { |
| 18 | const cart = await getCart() |
nothing calls this directly
no outgoing calls
no test coverage detected