Skip to content

Commit

Permalink
fix(starter-dapp): update some wrong style (#13517)
Browse files Browse the repository at this point in the history
Co-authored-by: jeff <113397187+cyberhorsey@users.noreply.github.com>
Co-authored-by: Daniel Wang <99078276+dantaik@users.noreply.github.com>
  • Loading branch information
3 people committed Apr 6, 2023
1 parent d1768d4 commit 728b8ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions packages/starter-dapp/src/components/ChainDropdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
<svelte:component this={$fromChain.icon} />
<span class="ml-2 hidden md:inline-block">{$fromChain.name}</span>
{:else}
<span class="ml-2 flex items-center">
<ExclamationTriangle class='mr-2' size='20' />
<span class="ml-2 flex items-center">
<ExclamationTriangle class="mr-2" size="20" />
<span class="hidden md:block">Invalid Chain</span>
</span>
{/if}
</span>
<ChevronDown size='20' />
<ChevronDown size="20" />
</label>
<ul
tabindex="0"
Expand Down
8 changes: 4 additions & 4 deletions packages/starter-dapp/src/domain/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export type Chain = {
bridgeAddress: string;
headerSyncAddress: string;
explorerUrl: string;
signalServiceAddress: string,
signalServiceAddress: string;
};

export const CHAIN_MAINNET = {
Expand All @@ -56,7 +56,7 @@ export const CHAIN_MAINNET = {
bridgeAddress: L1_BRIDGE_ADDRESS,
headerSyncAddress: L1_HEADER_SYNC_ADDRESS,
explorerUrl: L1_EXPLORER_URL,
signalServiceAddress: L1_SIGNAL_SERVICE_ADDRESS
signalServiceAddress: L1_SIGNAL_SERVICE_ADDRESS,
};

export const CHAIN_TKO = {
Expand All @@ -79,8 +79,8 @@ export const chains: Record<string, Chain> = {
export const mainnet: WagmiChain = {
id: CHAIN_ID_MAINNET,
name: import.meta.env
? import.meta.env.VITE_MAINNET_CHAIN_NAME
: "Ethereum A2",
? import.meta.env.VITE_MAINNET_CHAIN_NAME
: "Ethereum A2",
network: "",
nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
rpcUrls: {
Expand Down

0 comments on commit 728b8ad

Please sign in to comment.