@campxdev/shared 1.8.49-alpha.1 → 1.8.49-alpha.2

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": "1.8.49-alpha.1",
3
+ "version": "1.8.49-alpha.2",
4
4
  "main": "./exports.ts",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -39,7 +39,9 @@ export default function Providers({ children }: { children: ReactNode }) {
39
39
  }
40
40
  }, [])
41
41
 
42
- const baseName = `${urlTenantKey}/${insititutionCode}`
42
+ const baseName = insititutionCode
43
+ ? `${urlTenantKey}/${insititutionCode}`
44
+ : urlTenantKey
43
45
 
44
46
  return (
45
47
  <BrowserRouter basename={baseName}>