@movalib/movalib-commons 1.1.91 → 1.1.92
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.
|
@@ -47,7 +47,7 @@ var AccountValidation = function (_a) {
|
|
|
47
47
|
var movaAppType = _a.movaAppType, smsValidation = _a.smsValidation, resetPassword = _a.resetPassword, onSubmit = _a.onSubmit, onResendSecurityCode = _a.onResendSecurityCode;
|
|
48
48
|
var _f = (0, react_1.useState)(true), loading = _f[0], setLoading = _f[1];
|
|
49
49
|
var _g = (0, react_1.useState)(initialFormState), validationForm = _g[0], setValidationForm = _g[1];
|
|
50
|
-
|
|
50
|
+
var location = (0, react_router_dom_1.useLocation)();
|
|
51
51
|
var history = (0, react_router_dom_1.useHistory)();
|
|
52
52
|
var theme = (0, material_1.useTheme)();
|
|
53
53
|
var _h = (0, react_1.useState)(false), emptyPwd = _h[0], setEmptyPwd = _h[1];
|
package/package.json
CHANGED
|
@@ -41,7 +41,7 @@ const AccountValidation: FunctionComponent<AccountValidationProps> = ({ movaAppT
|
|
|
41
41
|
|
|
42
42
|
const [loading, setLoading] = useState(true);
|
|
43
43
|
const [validationForm, setValidationForm] = useState<MovaValidationForm>(initialFormState);
|
|
44
|
-
|
|
44
|
+
const location = useLocation();
|
|
45
45
|
const history = useHistory();
|
|
46
46
|
const theme = useTheme();
|
|
47
47
|
const [emptyPwd, setEmptyPwd] = useState<boolean>(false);
|