Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(starter-dapp): update some wrong style #13517

Merged
merged 3 commits into from
Apr 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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