@opexa/portal-components 0.0.472 → 0.0.473

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,7 @@ export function Maya({ logo, responsibleGamingLogo, pagcorLogo, banner, classNam
27
27
  : (className ?? {});
28
28
  const init = async () => {
29
29
  setProgress(25);
30
- if (session.data) {
30
+ if (session.data?.status === 'authenticated') {
31
31
  if (mayaSessionId) {
32
32
  if (localStorage.getItem(mayaSessIdKey) === mayaSessionId) {
33
33
  setProgress(100);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.472",
3
+ "version": "0.0.473",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",