Skip to content

Commit

Permalink
fix canUseDOM import
Browse files Browse the repository at this point in the history
  • Loading branch information
hiagolcm committed Nov 29, 2024
1 parent 2b61ef8 commit 2f63324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/utils/getCookie.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { canUseDOM } from 'exenv'
import { canUseDOM } from 'vtex.render-runtime'

function getCookie(cname) {
if (!canUseDOM) {
Expand Down

0 comments on commit 2f63324

Please sign in to comment.