@undp/carbon-library 1.0.16 → 1.0.17

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -4840,9 +4840,9 @@ var UserProfileComponent = function (props) {
4840
4840
  var removeUserInfo = useUserContext().removeUserInfo;
4841
4841
  var _c = React.useState(false), isLoading = _c[0], setIsLoading = _c[1];
4842
4842
  var signOut = function () {
4843
- onNavigateLogin();
4844
4843
  updateToken();
4845
4844
  removeUserInfo();
4845
+ onNavigateLogin();
4846
4846
  };
4847
4847
  var getUserProfileDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
4848
4848
  var response;