mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Add Reaction Commerce provider
Signed-off-by: Loan Laux <loan@outgrow.io>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import Cookies from 'js-cookie'
|
||||
import { REACTION_ANONYMOUS_CART_TOKEN_COOKIE } from '../const'
|
||||
|
||||
const getAnonymousCartToken = (id?: string) => {
|
||||
return id ?? Cookies.get(REACTION_ANONYMOUS_CART_TOKEN_COOKIE)
|
||||
}
|
||||
|
||||
export default getAnonymousCartToken
|
Reference in New Issue
Block a user