You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
335 B
JavaScript
19 lines
335 B
JavaScript
5 years ago
|
import React, {useState} from 'react'
|
||
|
import Head from 'next/head'
|
||
|
|
||
|
// import styles from './cart.module.css'
|
||
|
|
||
|
// TODO: Cart page
|
||
|
export default function Cart({cart}){
|
||
|
return (
|
||
|
<>
|
||
|
<Head><title>Cart</title></Head>
|
||
|
<div>
|
||
|
<pre>
|
||
|
{JSON.stringify(cart, null, 2)}
|
||
|
</pre>
|
||
|
</div>
|
||
|
</>
|
||
|
)
|
||
|
}
|