diff --git a/wallets/react-wallet-v2/.eslintrc.json b/wallets/react-wallet-v2/.eslintrc.json
index bffb357..39894ad 100644
--- a/wallets/react-wallet-v2/.eslintrc.json
+++ b/wallets/react-wallet-v2/.eslintrc.json
@@ -1,3 +1,4 @@
{
- "extends": "next/core-web-vitals"
+ "extends": "next/core-web-vitals",
+ "ignorePatterns": ["next.config.js"]
}
diff --git a/wallets/react-wallet-v2/.prettierrc.json b/wallets/react-wallet-v2/.prettierrc.json
new file mode 100644
index 0000000..e2abdba
--- /dev/null
+++ b/wallets/react-wallet-v2/.prettierrc.json
@@ -0,0 +1,9 @@
+{
+ "arrowParens": "avoid",
+ "parser": "typescript",
+ "printWidth": 100,
+ "singleQuote": true,
+ "tabWidth": 2,
+ "trailingComma": "none",
+ "semi": false
+}
diff --git a/wallets/react-wallet-v2/next.config.js b/wallets/react-wallet-v2/next.config.js
index 0d60710..da1bb77 100644
--- a/wallets/react-wallet-v2/next.config.js
+++ b/wallets/react-wallet-v2/next.config.js
@@ -1,3 +1,3 @@
module.exports = {
reactStrictMode: true,
-}
+};
diff --git a/wallets/react-wallet-v2/package.json b/wallets/react-wallet-v2/package.json
index 942b272..4699016 100644
--- a/wallets/react-wallet-v2/package.json
+++ b/wallets/react-wallet-v2/package.json
@@ -13,10 +13,11 @@
"react-dom": "17.0.2"
},
"devDependencies": {
- "@types/node": "^17.0.14",
- "@types/react": "^17.0.38",
+ "@types/node": "17.0.14",
+ "@types/react": "17.0.38",
"eslint": "8.8.0",
"eslint-config-next": "12.0.10",
- "typescript": "^4.5.5"
+ "eslint-config-prettier": "8.3.0",
+ "typescript": "4.5.5"
}
}
diff --git a/wallets/react-wallet-v2/pages/index.tsx b/wallets/react-wallet-v2/pages/index.tsx
deleted file mode 100644
index dc4b640..0000000
--- a/wallets/react-wallet-v2/pages/index.tsx
+++ /dev/null
@@ -1,69 +0,0 @@
-import Head from 'next/head'
-import Image from 'next/image'
-import styles from '../styles/Home.module.css'
-
-export default function Home() {
- return (
-
-
-
Create Next App
-
-
-
-
-
-
-
-
- Get started by editing{' '}
- pages/index.js
-
-
-
-
-
-
-
- )
-}
diff --git a/wallets/react-wallet-v2/src/pages/index.tsx b/wallets/react-wallet-v2/src/pages/index.tsx
new file mode 100644
index 0000000..c2a1c57
--- /dev/null
+++ b/wallets/react-wallet-v2/src/pages/index.tsx
@@ -0,0 +1,3 @@
+export default function HomePage() {
+ return null
+}
diff --git a/wallets/react-wallet-v2/styles/Home.module.css b/wallets/react-wallet-v2/styles/Home.module.css
deleted file mode 100644
index 32a57d5..0000000
--- a/wallets/react-wallet-v2/styles/Home.module.css
+++ /dev/null
@@ -1,116 +0,0 @@
-.container {
- padding: 0 2rem;
-}
-
-.main {
- min-height: 100vh;
- padding: 4rem 0;
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
-}
-
-.footer {
- display: flex;
- flex: 1;
- padding: 2rem 0;
- border-top: 1px solid #eaeaea;
- justify-content: center;
- align-items: center;
-}
-
-.footer a {
- display: flex;
- justify-content: center;
- align-items: center;
- flex-grow: 1;
-}
-
-.title a {
- color: #0070f3;
- text-decoration: none;
-}
-
-.title a:hover,
-.title a:focus,
-.title a:active {
- text-decoration: underline;
-}
-
-.title {
- margin: 0;
- line-height: 1.15;
- font-size: 4rem;
-}
-
-.title,
-.description {
- text-align: center;
-}
-
-.description {
- margin: 4rem 0;
- line-height: 1.5;
- font-size: 1.5rem;
-}
-
-.code {
- background: #fafafa;
- border-radius: 5px;
- padding: 0.75rem;
- font-size: 1.1rem;
- font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
- Bitstream Vera Sans Mono, Courier New, monospace;
-}
-
-.grid {
- display: flex;
- align-items: center;
- justify-content: center;
- flex-wrap: wrap;
- max-width: 800px;
-}
-
-.card {
- margin: 1rem;
- padding: 1.5rem;
- text-align: left;
- color: inherit;
- text-decoration: none;
- border: 1px solid #eaeaea;
- border-radius: 10px;
- transition: color 0.15s ease, border-color 0.15s ease;
- max-width: 300px;
-}
-
-.card:hover,
-.card:focus,
-.card:active {
- color: #0070f3;
- border-color: #0070f3;
-}
-
-.card h2 {
- margin: 0 0 1rem 0;
- font-size: 1.5rem;
-}
-
-.card p {
- margin: 0;
- font-size: 1.25rem;
- line-height: 1.5;
-}
-
-.logo {
- height: 1em;
- margin-left: 0.5rem;
-}
-
-@media (max-width: 600px) {
- .grid {
- width: 100%;
- flex-direction: column;
- }
-}
diff --git a/wallets/react-wallet-v2/styles/globals.css b/wallets/react-wallet-v2/styles/globals.css
deleted file mode 100644
index e5e2dcc..0000000
--- a/wallets/react-wallet-v2/styles/globals.css
+++ /dev/null
@@ -1,16 +0,0 @@
-html,
-body {
- padding: 0;
- margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
- Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
-}
-
-a {
- color: inherit;
- text-decoration: none;
-}
-
-* {
- box-sizing: border-box;
-}
diff --git a/wallets/react-wallet-v2/yarn.lock b/wallets/react-wallet-v2/yarn.lock
index 6f67c2b..15424b5 100644
--- a/wallets/react-wallet-v2/yarn.lock
+++ b/wallets/react-wallet-v2/yarn.lock
@@ -144,7 +144,7 @@
resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4=
-"@types/node@^17.0.14":
+"@types/node@17.0.14":
version "17.0.14"
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.14.tgz#33b9b94f789a8fedd30a68efdbca4dbb06b61f20"
integrity sha512-SbjLmERksKOGzWzPNuW7fJM7fk3YXVTFiZWB/Hs99gwhk+/dnrQRPBQjPW9aO+fi1tAffi9PrwFvsmOKmDTyng==
@@ -154,7 +154,7 @@
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.4.tgz#fcf7205c25dff795ee79af1e30da2c9790808f11"
integrity sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ==
-"@types/react@^17.0.38":
+"@types/react@17.0.38":
version "17.0.38"
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.38.tgz#f24249fefd89357d5fa71f739a686b8d7c7202bd"
integrity sha512-SI92X1IA+FMnP3qM5m4QReluXzhcmovhZnLNm3pyeQlooi02qI7sLiepEYqT678uNiyc25XfCqxREFpy3W7YhQ==
@@ -507,6 +507,11 @@ eslint-config-next@12.0.10:
eslint-plugin-react "^7.27.0"
eslint-plugin-react-hooks "^4.3.0"
+eslint-config-prettier@8.3.0:
+ version "8.3.0"
+ resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz#f7471b20b6fe8a9a9254cc684454202886a2dd7a"
+ integrity sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==
+
eslint-import-resolver-node@^0.3.4, eslint-import-resolver-node@^0.3.6:
version "0.3.6"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd"
@@ -1599,7 +1604,7 @@ type-fest@^0.20.2:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4"
integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==
-typescript@^4.5.5:
+typescript@4.5.5:
version "4.5.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3"
integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==