Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aaroncox committed Dec 27, 2024
1 parent 456e66c commit 915d1de
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion messages/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
"metamask_install_faq_a9_p2": "{network} 지갑에 대한 향후 업데이트에서는 소유자 키를 사용하여 활성 키를 재설정하는 방법을 제공하여 활성 키가 변경된 경우 복구 경로를 제공할 예정입니다.",
"metamask_install_faq_q1": "MetaMask 스냅이란 무엇인가요?",
"metamask_install_faq_q10": "소유자 키와 활성 키를 어떻게 찾을 수 있나요?",
"metamask_install_faq_q11": "MetaMask용 { {network} 지갑을 사용하여 모든 {network} } 앱에 액세스할 수 있나요?",
"metamask_install_faq_q11": "MetaMask용 {network} 지갑을 사용하여 모든 {network} 앱에 액세스할 수 있나요?",
"metamask_install_faq_q12": "{network} Wallet 지원은 어떻게 받을 수 있나요?",
"metamask_install_faq_q2": "{network} 지갑을 어떻게 설치하나요?",
"metamask_install_faq_q3": "{network} 지갑은 무슨 역할을 하나요?",
Expand Down
6 changes: 3 additions & 3 deletions src/routes/[network]/(account)/ram/(forms)/buy/+page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ export const load: PageLoad = async ({ params, parent }) => {
backPath: `/${languageTag()}/${params.network}/ram`,
title: m.common_unit_buy({ unit: 'RAM' }),
subtitle: m.ram_page_subtitle({
token: network.chain.systemToken?.symbol.name || m.common_tokens(),
token: String(network.chain.systemToken?.symbol.name || m.common_tokens()),
network: network.chain.name
}),
pageMetaTags: {
title: [
m.common_unit_buy({ unit: 'RAM' }),
m.ram_metadata_buy_title({
token: network.chain.systemToken?.symbol.name || m.common_tokens(),
token: String(network.chain.systemToken?.symbol.name || m.common_tokens()),
network: network.chain.name
})
].join(' | '),
description: m.ram_metadata_buy_description({
token: network.chain.systemToken?.symbol.name || m.common_tokens(),
token: String(network.chain.systemToken?.symbol.name || m.common_tokens()),
network: network.chain.name
})
}
Expand Down
6 changes: 3 additions & 3 deletions src/routes/[network]/(account)/ram/(forms)/sell/+page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ export const load: PageLoad = async ({ params, parent }) => {
backPath: `/${languageTag()}/${params.network}/ram`,
title: m.common_unit_sell({ unit: 'RAM' }),
subtitle: m.ram_page_sell_subtitle({
token: network.chain.systemToken?.symbol.name || m.common_tokens(),
token: String(network.chain.systemToken?.symbol.name || m.common_tokens()),
network: network.chain.name
}),
pageMetaTags: {
title: [
m.common_unit_sell({ unit: 'RAM' }),
m.ram_metadata_buy_title({
token: network.chain.systemToken?.symbol.name || m.common_tokens(),
token: String(network.chain.systemToken?.symbol.name || m.common_tokens()),
network: network.chain.name
})
].join(' | '),
description: m.ram_metadata_sell_description({
token: network.chain.systemToken?.symbol.name || m.common_tokens(),
token: String(network.chain.systemToken?.symbol.name || m.common_tokens()),
network: network.chain.name
})
}
Expand Down
4 changes: 2 additions & 2 deletions src/routes/[network]/(account)/ram/+layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ export const load: LayoutLoad = async ({ parent }) => {
pageMetaTags: {
title: [
m.ram_metadata_buy_title({
token: network.chain.systemToken?.symbol.name || m.common_tokens(),
token: String(network.chain.systemToken?.symbol.name || m.common_tokens()),
network: network.chain.name
})
].join(' | '),
description: m.ram_metadata_overview_description({
token: network.chain.systemToken?.symbol.name || m.common_tokens(),
token: String(network.chain.systemToken?.symbol.name || m.common_tokens()),
network: network.chain.name
})
}
Expand Down
4 changes: 2 additions & 2 deletions src/routes/[network]/(explorer)/account/[name]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

<Card
id="system-token"
title={data.network.chain.systemToken.symbol.name}
title={String(data.network.chain.systemToken?.symbol.name)}
class="break-after-avoid"
>
<Stack>
Expand Down Expand Up @@ -135,7 +135,7 @@
action={{
text: m.common_reclaim(),
href: `/${data.network}/undelegate`,
visible: isCurrentUsers
visible: isCurrentUser
}}
/>
{/if}
Expand Down
6 changes: 3 additions & 3 deletions src/routes/[network]/(homepage)/components/charts.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
<TextBlock
{...{
title: m.homepage_native_token_title({
token: network.chain.systemToken?.symbol.name
token: String(network.chain.systemToken?.symbol.name)
}),
text: m.homepage_native_token_description({
token: network.chain.systemToken?.symbol.name,
token: String(network.chain.systemToken?.symbol.name),
network: network.chain.name
}),
button: {
Expand All @@ -87,7 +87,7 @@
text: m.homepage_ram_token_description(),
button: {
text: m.homepage_ram_token_market({
token: network.chain.systemToken?.symbol.name
token: String(network.chain.systemToken?.symbol.name)
}),
href: `${network}/ram`
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<p>
{m.homepage_staking_description({
network: network.chain.name,
token: network.chain.systemToken?.symbol.name
token: String(network.chain.systemToken?.symbol.name)
})}
</p>
<div class="mt-2 flex gap-6">
Expand Down

0 comments on commit 915d1de

Please sign in to comment.