rename folder

This commit is contained in:
Loui Nissen-Petersen
2021-07-16 16:58:03 +02:00
parent 166bb037e4
commit 03dcf96fb1
529 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
import Cookies from 'js-cookie'
import { CHECKOUT_ID_COOKIE } from '../const'
const getCheckoutId = (id?: string) => {
const r = Cookies.get(CHECKOUT_ID_COOKIE)?.split(':') || []
return { checkoutId: r[0], checkoutToken: r[1] }
}
export default getCheckoutId