From cb221b91f0e0843a44d49c7985595b7633cdfe75 Mon Sep 17 00:00:00 2001 From: Delilah <23665803+goplayoutside3@users.noreply.github.com> Date: Wed, 23 Oct 2024 12:23:03 -0500 Subject: [PATCH] add code comment with link to PR 6345 --- packages/lib-user/src/hooks/usePanoptesAuthToken.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/lib-user/src/hooks/usePanoptesAuthToken.js b/packages/lib-user/src/hooks/usePanoptesAuthToken.js index 3af7e720f8..dc1bedbedd 100644 --- a/packages/lib-user/src/hooks/usePanoptesAuthToken.js +++ b/packages/lib-user/src/hooks/usePanoptesAuthToken.js @@ -5,6 +5,7 @@ const isBrowser = typeof window !== "undefined" let defaultToken /* + See comments in https://github.com/zooniverse/front-end-monorepo/pull/6345 Top-level await in modules has been supported in Node and in all browsers since 2021. However, ES modules are still not supported in the monorepo. An immediately-invoked async