@riosst100/pwa-marketplace 1.0.8 → 1.0.9

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@riosst100/pwa-marketplace",
3
3
  "author": "riosst100@gmail.com",
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "main": "src/index.js",
6
6
  "pwa-studio": {
7
7
  "targets": {
@@ -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(() => {