From 2f6332498e684e8860de116d28b597b0d1e2bfb4 Mon Sep 17 00:00:00 2001 From: Hiago Lucas Cardeal de Melo Silva Date: Fri, 29 Nov 2024 10:08:11 -0300 Subject: [PATCH] fix canUseDOM import --- react/utils/getCookie.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/utils/getCookie.js b/react/utils/getCookie.js index 552c82976..f8732ea5e 100644 --- a/react/utils/getCookie.js +++ b/react/utils/getCookie.js @@ -1,4 +1,4 @@ -import { canUseDOM } from 'exenv' +import { canUseDOM } from 'vtex.render-runtime' function getCookie(cname) { if (!canUseDOM) {