Skip to content

Commit 0eea38e

Browse files
committed
feat: tx awaiting modal
1 parent 731b6b6 commit 0eea38e

12 files changed

Lines changed: 433 additions & 65 deletions

File tree

app.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import CommandMenu from "@/components/cmd/CommandMenu.vue"
1010
/** API */
1111
import { fetchGasPrice } from "@/services/api/gas"
1212
import { fetchHead } from "@/services/api/main"
13+
import { fetchLatestBlocks } from "@/services/api/block"
1314
1415
/** Store */
1516
import { useAppStore } from "@/store/app"
@@ -28,6 +29,10 @@ onMounted(async () => {
2829
const runtimeConfig = useRuntimeConfig()
2930
amp.init(runtimeConfig.public.AMP)
3031
32+
const data = await fetchLatestBlocks({ limit: 15 })
33+
appStore.latestBlocks = data
34+
appStore.isLatestBlocksLoaded = true
35+
3136
const head = await fetchHead()
3237
if (head) appStore.lastHead = head
3338

assets/styles/base.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,11 @@ $grayscale: (
6767
--block-progress-fill-background: #33a853;
6868
--logo-name: var(--txt-primary);
6969
--bar-fill: rgb(243, 147, 45);
70-
--validator-active: #85F891;
71-
--validator-inactive: #65C7F8;
72-
--validator-jailed: #F8774A;
73-
--supply: #65C7F8;
74-
--staking: #85F891;
75-
70+
--validator-active: #85f891;
71+
--validator-inactive: #65c7f8;
72+
--validator-jailed: #f8774a;
73+
--supply: #65c7f8;
74+
--staking: #85f891;
7675
}
7776

7877
[theme="dimmed"] {

0 commit comments

Comments
 (0)