@undp/carbon-library 1.0.29 → 1.0.30
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/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1364,7 +1364,7 @@ var OrganisationStatus = function (props) {
|
|
|
1364
1364
|
var CompanyProfileComponent = function (props) {
|
|
1365
1365
|
var t = props.t, useAbilityContext = props.useAbilityContext, useLocation = props.useLocation, useConnection = props.useConnection, onNavigateToCompanyManagement = props.onNavigateToCompanyManagement, onNavigateToCompanyEdit = props.onNavigateToCompanyEdit, regionField = props.regionField;
|
|
1366
1366
|
var _a = useConnection(), get = _a.get, put = _a.put;
|
|
1367
|
-
var _b = React.useState(
|
|
1367
|
+
var _b = React.useState(undefined), companyDetails = _b[0], setCompanyDetails = _b[1];
|
|
1368
1368
|
var state = useLocation().state;
|
|
1369
1369
|
var _c = React.useState(true), isLoading = _c[0], setIsLoading = _c[1];
|
|
1370
1370
|
var _d = React.useState({}), actionInfo = _d[0], setActionInfo = _d[1];
|
|
@@ -4937,8 +4937,8 @@ var LanguageSelection = function (props) {
|
|
|
4937
4937
|
var UserProfileComponent = function (props) {
|
|
4938
4938
|
var t = props.t, i18n = props.i18n, useConnection = props.useConnection, onNavigateUpdateUser = props.onNavigateUpdateUser, onNavigateLogin = props.onNavigateLogin, useUserContext = props.useUserContext;
|
|
4939
4939
|
var get = useConnection().get;
|
|
4940
|
-
var _a = React.useState(
|
|
4941
|
-
var _b = React.useState(
|
|
4940
|
+
var _a = React.useState(undefined), organisationDetails = _a[0], setOrganisationDetails = _a[1];
|
|
4941
|
+
var _b = React.useState(undefined), userDetails = _b[0], setUserDetails = _b[1];
|
|
4942
4942
|
var updateToken = useConnection().updateToken;
|
|
4943
4943
|
var removeUserInfo = useUserContext().removeUserInfo;
|
|
4944
4944
|
var _c = React.useState(false), isLoading = _c[0], setIsLoading = _c[1];
|