@learningpool/ui 1.6.0-beta.10 → 1.6.0-beta.12

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.
@@ -194,7 +194,7 @@ var AppSwitcher = function (props) {
194
194
  token = parsedQueryString.accessToken;
195
195
  }
196
196
  }
197
- if (!!props.applications) return [3 /*break*/, 2];
197
+ if (!(!props.applications || props.applications.length === 0)) return [3 /*break*/, 2];
198
198
  return [4 /*yield*/, getApplicationsForUser()];
199
199
  case 1:
200
200
  applicationInstances = _a.sent();
package/package.json CHANGED
@@ -9,11 +9,10 @@
9
9
  "components",
10
10
  "ui"
11
11
  ],
12
- "version": "1.6.0-beta.10",
12
+ "version": "1.6.0-beta.12",
13
13
  "private": false,
14
14
  "main": "index.js",
15
15
  "module": "index.js",
16
- "types": "types/index.d.ts",
17
16
  "dependencies": {
18
17
  "@emotion/react": "^11.7.1",
19
18
  "@emotion/styled": "^11.6.0",