@riosst100/pwa-marketplace 1.0.8 → 1.1.0
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/package.json
CHANGED
|
@@ -37,6 +37,16 @@ export const useBecomeSellerPage = props => {
|
|
|
37
37
|
}
|
|
38
38
|
}, [isSeller, history])
|
|
39
39
|
|
|
40
|
+
// const userCountryCode = storage.getItem('user_country_code');
|
|
41
|
+
|
|
42
|
+
// const isNotAllowedCountry = userCountryCode != "ID";
|
|
43
|
+
|
|
44
|
+
// useEffect(() => {
|
|
45
|
+
// if (isNotAllowedCountry) {
|
|
46
|
+
// history.push('/')
|
|
47
|
+
// }
|
|
48
|
+
// }, [isNotAllowedCountry, history])
|
|
49
|
+
|
|
40
50
|
// Keep location state in memory when pushing history and redirect to
|
|
41
51
|
// the `from` url instead when creating an account
|
|
42
52
|
const historyState = useMemo(() => {
|