mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 05:31:22 +00:00
16 lines
260 B
TypeScript
16 lines
260 B
TypeScript
import { Cart } from '@framework/types'
|
|
|
|
export interface CartResponse {
|
|
data: Cart | null
|
|
isLoading: boolean
|
|
isEmpty: boolean
|
|
}
|
|
|
|
export default function useCart(): CartResponse {
|
|
return {
|
|
data: null,
|
|
isLoading: false,
|
|
isEmpty: true,
|
|
}
|
|
}
|