Update ContextProvider.tsx | deleted degen #37
Annotations
8 errors and 12 warnings
π¬ Lint:
src/__tests__/functions.tsx#L1
Do not use "@ts-nocheck" because it alters compilation errors
|
π¬ Lint:
src/app/context/WalletProvider copy.tsx#L1
Do not use "@ts-nocheck" because it alters compilation errors
|
π¬ Lint:
src/app/context/web3 copy.tsx#L1
Do not use "@ts-nocheck" because it alters compilation errors
|
π¬ Lint:
src/app/context/web3 copy.tsx#L11
React Hook "useDynamicContext" is called in function "getSigner" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|
π¬ Lint:
src/app/context/web3 copy.tsx#L17
React Hook "useDynamicContext" is called in function "getContract" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|
π¬ Lint:
src/components/account/AccountInfo.tsx#L143
Unexpected var, use let or const instead
|
π¬ Lint:
src/lib/BalanceHook.ts#L3
React Hook "useDynamicContext" cannot be called at the top level. React Hooks must be called in a React function component or a custom React Hook function
|
π¬ Lint
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
π¬ Lint:
src/app/context/WalletProvider copy.tsx#L19
Unexpected console statement
|
π¬ Lint:
src/app/context/WalletProvider copy.tsx#L23
Unexpected console statement
|
π¬ Lint:
src/app/context/WalletProvider copy.tsx#L25
'contract' is assigned a value but never used. Allowed unused vars must match /^_/u
|
π¬ Lint:
src/app/context/WalletProvider copy.tsx#L30
Unexpected console statement
|
π¬ Lint:
src/app/context/WalletProvider copy.tsx#L34
Unexpected console statement
|
π¬ Lint:
src/app/context/WalletProvider copy.tsx#L35
'myWallet' is assigned a value but never used. Allowed unused vars must match /^_/u
|
π¬ Lint:
src/app/context/WalletProvider copy.tsx#L44
Unexpected console statement
|
π¬ Lint:
src/app/context/WalletProvider copy.tsx#L51
Unexpected console statement
|
π¬ Lint:
src/app/context/WalletProvider copy.tsx#L53
Unexpected console statement
|
π¬ Lint:
src/app/context/WalletProvider.tsx#L29
Unexpected any. Specify a different type
|
Loading