Skip to content

Commit

Permalink
fix: 'IsCookieSupported' method doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs committed May 7, 2022
1 parent e194972 commit b9db102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/storage/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ class Storage {
}
// If anonymousId is not present in local storage and check cookie support exists
// fetch it from cookie
if (!anonId && Cookie.IsCookieSupported()) {
if (!anonId && Cookie.isSupportAvailable) {
anonId = Cookie.get(anonymousIdKeyMap[key]);
}
return anonId;
Expand Down

0 comments on commit b9db102

Please sign in to comment.