Skip to content

Commit

Permalink
uses notEmptyString to check if string is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
BonomoAlessandro committed Nov 22, 2024
1 parent 2b5fbfc commit f1d64b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
import type { Token } from '@dfinity/utils';
import { notEmptyString, type Token } from '@dfinity/utils';
import { icTransactionsStore } from '$icp/stores/ic-transactions.store';
import NetworksSwitcher from '$lib/components/networks/NetworksSwitcher.svelte';
import AllTransactionsList from '$lib/components/transactions/AllTransactionsList.svelte';
Expand Down Expand Up @@ -29,7 +29,7 @@
</div>
{/if}

{#if tokenList}
{#if notEmptyString(tokenList)}
<MessageBox level="light-warning" closableKey="oisy_ic_hide_incomplete_transaction_list">
{replacePlaceholders($i18n.activity.warning.incomplete_transaction_list, {
$token_list: tokenList
Expand Down

0 comments on commit f1d64b9

Please sign in to comment.