contentoh-components-library 21.0.36 → 21.0.37
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.
|
@@ -284,7 +284,7 @@ var SignInLogin = function SignInLogin(props) {
|
|
|
284
284
|
})
|
|
285
285
|
})]
|
|
286
286
|
})
|
|
287
|
-
}), upgradePlanRedirect && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactRouterDom.
|
|
287
|
+
}), upgradePlanRedirect && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactRouterDom.Redirect, {
|
|
288
288
|
to: {
|
|
289
289
|
pathname: "/dashboard"
|
|
290
290
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentoh-components-library",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.37",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@aws-amplify/auth": "^4.5.3",
|
|
6
6
|
"@aws-amplify/datastore": "^3.11.0",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"react-chartjs-2": "^4.1.0",
|
|
22
22
|
"react-dom": "^17.0.2",
|
|
23
23
|
"react-image-fallback": "^8.0.0",
|
|
24
|
-
"react-router-dom": "^
|
|
24
|
+
"react-router-dom": "^5.2.0",
|
|
25
25
|
"styled-components": "^5.3.3",
|
|
26
26
|
"web-vitals": "^1.0.1"
|
|
27
27
|
},
|
|
@@ -7,7 +7,7 @@ import { TagAndInput } from "../TagAndInput";
|
|
|
7
7
|
import { FontFamily, GlobalColors } from "../../../global-files/variables";
|
|
8
8
|
import { useState, useEffect } from "react";
|
|
9
9
|
import { Loading } from "../../atoms/Loading";
|
|
10
|
-
import {
|
|
10
|
+
import { Redirect } from "react-router-dom";
|
|
11
11
|
import axios from "axios";
|
|
12
12
|
|
|
13
13
|
export const SignInLogin = (props) => {
|
|
@@ -203,7 +203,7 @@ export const SignInLogin = (props) => {
|
|
|
203
203
|
</div>
|
|
204
204
|
</div>
|
|
205
205
|
</Container>
|
|
206
|
-
{upgradePlanRedirect && <
|
|
206
|
+
{upgradePlanRedirect && <Redirect to={{ pathname: "/dashboard" }} />}
|
|
207
207
|
</>
|
|
208
208
|
);
|
|
209
209
|
};
|