@campxdev/shared 2.0.26 → 2.0.27

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campxdev/shared",
3
- "version": "2.0.26",
3
+ "version": "2.0.27",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -1,4 +1,5 @@
1
1
  import { Alert, Box, Button, styled, Typography } from '@mui/material'
2
+ import Cookies from 'js-cookie'
2
3
  import { useNavigate } from 'react-router-dom'
3
4
  import {
4
5
  internalserver,
@@ -148,6 +149,10 @@ export function UnAuth({ resetBoundary }) {
148
149
 
149
150
  const isDevelopment = process.env.NODE_ENV === 'development'
150
151
 
152
+ Cookies.remove('campx_session_key')
153
+ Cookies.remove('campx_tenant')
154
+ Cookies.remove('campx_institution')
155
+
151
156
  function handleLoginClick() {
152
157
  if (isDevelopment) {
153
158
  openRootModal({