From 6584747261a190be4b8b2d5b7e380724ac39810f Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Wed, 21 Aug 2024 17:15:11 +0200 Subject: [PATCH] chore(frontend): cleanup import .js (#2082) # Motivation Our editors, or at least mine, Webstorm, sometimes adds `.js` at the end of import that are automatically added or moved. This is useless. # Changes - Cleanup imports and remove `.js`. --- .../src/icp-eth/components/fee/FeeAmountDisplay.svelte | 2 +- src/frontend/src/lib/components/core/Menu.svelte | 2 +- .../src/lib/components/hero/about/AboutHowModal.svelte | 2 +- .../src/lib/components/hero/about/AboutWhatModal.svelte | 2 +- src/frontend/src/lib/components/tokens/TokenBalance.svelte | 4 ++-- src/frontend/src/lib/components/tokens/Tokens.svelte | 2 +- src/frontend/src/lib/components/tokens/TokensSignedOut.svelte | 2 +- .../src/lib/components/transactions/Transactions.svelte | 2 +- .../lib/components/transactions/TransactionsSignedIn.svelte | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/frontend/src/icp-eth/components/fee/FeeAmountDisplay.svelte b/src/frontend/src/icp-eth/components/fee/FeeAmountDisplay.svelte index 4c3a0f8026..42a2636e2a 100644 --- a/src/frontend/src/icp-eth/components/fee/FeeAmountDisplay.svelte +++ b/src/frontend/src/icp-eth/components/fee/FeeAmountDisplay.svelte @@ -5,7 +5,7 @@ import { EIGHT_DECIMALS } from '$lib/constants/app.constants'; import { i18n } from '$lib/stores/i18n.store'; import { replacePlaceholders } from '$lib/utils/i18n.utils'; - import { balancesStore } from '$lib/stores/balances.store.js'; + import { balancesStore } from '$lib/stores/balances.store'; import { BigNumber } from '@ethersproject/bignumber'; import type { TokenId } from '$lib/types/token'; diff --git a/src/frontend/src/lib/components/core/Menu.svelte b/src/frontend/src/lib/components/core/Menu.svelte index fe6a343f71..896b99fa7a 100644 --- a/src/frontend/src/lib/components/core/Menu.svelte +++ b/src/frontend/src/lib/components/core/Menu.svelte @@ -17,7 +17,7 @@ import { page } from '$app/stores'; import AboutHow from '$lib/components/hero/about/AboutHow.svelte'; import AboutWhat from '$lib/components/hero/about/AboutWhat.svelte'; - import { replaceOisyPlaceholders } from '$lib/utils/i18n.utils.js'; + import { replaceOisyPlaceholders } from '$lib/utils/i18n.utils'; let visible = false; let button: HTMLButtonElement | undefined; diff --git a/src/frontend/src/lib/components/hero/about/AboutHowModal.svelte b/src/frontend/src/lib/components/hero/about/AboutHowModal.svelte index 606b88866b..58a708e78c 100644 --- a/src/frontend/src/lib/components/hero/about/AboutHowModal.svelte +++ b/src/frontend/src/lib/components/hero/about/AboutHowModal.svelte @@ -1,5 +1,5 @@ diff --git a/src/frontend/src/lib/components/transactions/TransactionsSignedIn.svelte b/src/frontend/src/lib/components/transactions/TransactionsSignedIn.svelte index 79f097c6e9..830ba6d080 100644 --- a/src/frontend/src/lib/components/transactions/TransactionsSignedIn.svelte +++ b/src/frontend/src/lib/components/transactions/TransactionsSignedIn.svelte @@ -1,7 +1,7 @@