Conversation
* feat: hardcoded chains for keplr * chore: self review
* chore: savepoint * chore: savepoint * feat: erc20 bridge * chore: self review * fix: devnet url * feat: add devnet * chore: self review * fix: addresses * feat: tokens fetcher * chore: savepoint * chore: api for tokens * fix: bridge allowance * chore: savepoint * feat: use bridge state * chore: self review * fix: balances from sepolia * chore: prettier * fix: explorer for devnet * feat: https * feat: token deployment page * fix: rpc url * fix: balances and token deployment * chore: cleanup logs * feat: logs parser * feat: correct handle remote token address * chore: self review * chore: precommit hook * chore: handle allowance with timers * chore: savepoint * feat: l2 to l1 orders list * chore: self review for bridge tokens/links * chore: self review * feat: correct devnet configs for time to prove checks * chore: correct chain switch for proving * chore: correct finilize steps * chore: review * feat: self review UI for bridge page * fix: header btns for bridge page * fix: reloading timers * chore: self review * chore: replace local storage usage * chore: review comments
* feat: upd wagmi lib * fix: build providers
* feat: restore withdraw by tx hash * chore: savecommit * feat: recover page with order creation * fix: linter issues * fix: types * fix: upd addresses * Potential fix for code scanning alert no. 390: Useless assignment to local variable Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Rinat Fihtengolts <9-b-rinat@rambler.ru> --------- Signed-off-by: Rinat Fihtengolts <9-b-rinat@rambler.ru> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* fix: approve btn disable and chains in header * chore: savepoint refactored bridge page * feat: share by url support
* feat: use new testethic * chore: savepoint * chore: upd addresses * fix: build * fix: search tokens * chore: self review * fix: allowance checking * fix: bridge * chore: savepoint
* fix: pre release fixes * chore: savepoint * chore: reset token on chain id change * fix: validators count * fix: chain switch problem * fix: links
* fix: decrease RPC calls * fix: rename ISLM to ETH
* fix: correct chain switch on bridge page * chore: error block styles * fix: handle back chain switch
* chore: savepoint * chore: savepoint * feat: testethiq faucet support
…nt handling in withdrawal hooks
| @@ -1,4 +1,4 @@ | |||
| import { ProposalStatus } from '@evmos/provider'; | |||
| import { Proposal, ProposalStatus } from '@evmos/provider'; | |||
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 2 months ago
In general, the fix is to remove any imported symbols that are not used in the file while preserving necessary imports. Here, we need to keep ProposalStatus (used on line 36) and drop Proposal from the destructuring import.
Concretely, in apps/shell/src/app/[locale]/governance/page.tsx, update line 1 so that the import from @evmos/provider only includes ProposalStatus. No other code changes are necessary, and no new methods, definitions, or imports are required.
| @@ -1,4 +1,4 @@ | ||
| import { Proposal, ProposalStatus } from '@evmos/provider'; | ||
| import { ProposalStatus } from '@evmos/provider'; | ||
| import { | ||
| HydrationBoundary, | ||
| QueryClient, |
| 'use client'; | ||
| import { useMemo } from 'react'; | ||
| import { ProposalStatus } from '@evmos/provider'; | ||
| import { Proposal, ProposalStatus } from '@evmos/provider'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 2 months ago
In general, unused imports should be removed from the import statement to avoid confusion and potential linter errors. Here, we should modify the import from @evmos/provider to only import ProposalStatus, since Proposal is not used anywhere in the file.
Concretely, in libs/governance/src/lib/proposal-list-page.tsx, update the import on line 3 from import { Proposal, ProposalStatus } from '@evmos/provider'; to import { ProposalStatus } from '@evmos/provider';. No other lines need to change, and no new methods, definitions, or imports are required.
| @@ -1,6 +1,6 @@ | ||
| 'use client'; | ||
| import { useMemo } from 'react'; | ||
| import { Proposal, ProposalStatus } from '@evmos/provider'; | ||
| import { ProposalStatus } from '@evmos/provider'; | ||
| import { useTranslate } from '@tolgee/react'; | ||
| import Link from 'next/link'; | ||
| import { TallyResults } from '@haqq/data-access-cosmos'; |
| @@ -1,7 +1,8 @@ | |||
| import { useMemo } from 'react'; | |||
| import { ProposalStatus } from '@evmos/provider'; | |||
| import { Proposal, ProposalStatus } from '@evmos/provider'; | |||
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 2 months ago
In general, unused imports should be removed to reduce noise and avoid confusion. Here, we should keep only what is actually used from @evmos/provider.
The single best fix is to edit the import at line 2 so that it only imports ProposalStatus. No other code changes are required, because there is no reference to Proposal in the snippet. Concretely, in libs/main/src/lib/components/proposal-list-block.tsx, replace import { Proposal, ProposalStatus } from '@evmos/provider'; with import { ProposalStatus } from '@evmos/provider';. No additional methods, imports, or definitions are needed.
| @@ -1,5 +1,5 @@ | ||
| import { useMemo } from 'react'; | ||
| import { Proposal, ProposalStatus } from '@evmos/provider'; | ||
| import { ProposalStatus } from '@evmos/provider'; | ||
| import { useTranslate } from '@tolgee/react'; | ||
| import Link from 'next/link'; | ||
| import { TallyResults } from '@haqq/data-access-cosmos'; |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
No description provided.