diff --git a/.eslintrc.json b/.eslintrc.json index 7e97896..7639f23 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -31,6 +31,7 @@ "spellcheck" ], "rules": { + "@typescript-eslint/consistent-type-definitions": 0, "@typescript-eslint/strict-boolean-expressions": 0, "@typescript-eslint/prefer-nullish-coalescing": 0, "@typescript-eslint/space-before-function-paren": 0, @@ -48,6 +49,7 @@ "minLength": 2, "ignoreRequire": true, "skipWords": [ + "noreferrer", "instagram", "linkedin", "pathname", diff --git a/package-lock.json b/package-lock.json index f93a76c..dd09bae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@types/react-dom": "^18.2.4", "@types/react-router-dom": "^5.3.3", "@typescript-eslint/eslint-plugin": "^5.59.8", - "@unrealpixels/common-lib": "^0.1.9", + "@unrealpixels/common-lib": "^0.1.10", "@vitejs/plugin-basic-ssl": "^1.0.1", "@vitejs/plugin-react": "^4.0.4", "axios": "^1.4.0", @@ -1298,9 +1298,9 @@ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==" }, "node_modules/@unrealpixels/common-lib": { - "version": "0.1.9", - "resolved": "https://registry.npmjs.org/@unrealpixels/common-lib/-/common-lib-0.1.9.tgz", - "integrity": "sha512-7vRGgjdSTMZ9LWubkTdlrZ5yyx1bLLxLWEXc0Tilhbe2jFYzskQg/8/lK2eCnFyf4FNhjwlk47bmKURT4PlDYg==", + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/@unrealpixels/common-lib/-/common-lib-0.1.10.tgz", + "integrity": "sha512-Zxw2IvplNoIRCnb/3x03G7ykU3k4xdrWBx0al74B3KOYeeVz0TUNu+i9lMQnsoOSwIGbfoiGg9xLIDnfeEM0zg==", "peerDependencies": { "@types/axios": "^0.14.0", "@types/node": "^16.18.34", diff --git a/package.json b/package.json index 593d123..f7c7f6c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "@types/react-dom": "^18.2.4", "@types/react-router-dom": "^5.3.3", "@typescript-eslint/eslint-plugin": "^5.59.8", - "@unrealpixels/common-lib": "^0.1.9", + "@unrealpixels/common-lib": "^0.1.10", "@vitejs/plugin-basic-ssl": "^1.0.1", "@vitejs/plugin-react": "^4.0.4", "axios": "^1.4.0", diff --git a/src/views/App/index.tsx b/src/views/App/index.tsx index 3d573ef..9934b59 100644 --- a/src/views/App/index.tsx +++ b/src/views/App/index.tsx @@ -36,7 +36,7 @@ class App extends React.Component { return ( <> -
+
{error &&
{errorReason}
}