mirror of
https://github.com/vercel/commerce.git
synced 2025-07-04 12:11:22 +00:00
8 lines
217 B
TypeScript
8 lines
217 B
TypeScript
import { requireConfigValue } from '@framework/isomorphic-config'
|
|
import Cookies from 'js-cookie'
|
|
|
|
const getCartToken = () =>
|
|
Cookies.get(requireConfigValue('cartCookieName') as string)
|
|
|
|
export default getCartToken
|