diff --git a/public/js/src/admin.js b/public/js/src/admin.js index 397e1c99..5973de14 100755 --- a/public/js/src/admin.js +++ b/public/js/src/admin.js @@ -52,6 +52,8 @@ apolloClient.query({ query: MeQuery }) } }) .catch(() => { + // fix for Brave browser - it doesn't send the cookie with the first JS request on the initial load + // after the page is refreshed, it's fine alert('There was an error loading the page. The page not work as expected. Please refresh the page.'); }) .finally(() => { diff --git a/public/js/src/user.js b/public/js/src/user.js index 935f8db9..ed308051 100755 --- a/public/js/src/user.js +++ b/public/js/src/user.js @@ -51,6 +51,9 @@ apolloClient.query({ query: MeQuery }) } }) .catch(() => { + // fix for Brave browser - it doesn't send the cookie with the first JS request on the initial load + // after the page is refreshed, it's fine + alert('There was an error loading the page. The page not work as expected. Please refresh the page.'); }) .finally(() => {