Skip to content

Commit

Permalink
fixed minor lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dan13ram committed Feb 14, 2023
1 parent 2a1a941 commit b800f61
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@
"react/no-unescaped-entities": "warn",
"react-hooks/rules-of-hooks": "error",
"import/no-unresolved": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"no-console": [
"error",
{
Expand Down
2 changes: 1 addition & 1 deletion web3/WalletContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const WalletContext = createContext<WalletContextType>({
ens: null,
ensAvatar: null,
user: null,
setUser: (_user: MongoUser | null | undefined) => undefined,
setUser: () => undefined,
connectWallet: async () => undefined,
disconnect: () => undefined,
isConnecting: true,
Expand Down

0 comments on commit b800f61

Please sign in to comment.