From 66d5d575358b8f2990be948a7615cfd2133f50c5 Mon Sep 17 00:00:00 2001 From: "Lim, Wei Shan" Date: Tue, 8 Oct 2024 15:53:26 +0800 Subject: [PATCH] Fix typos detected by typos workflow Ignoring graphql directory as the files are from planetarium/NineChronicles.Headless service and planetarium/mimir, they shouldn't be updated manually. --- .github/workflows/lint.yaml | 4 +++- pages/.typos.toml | 3 +++ pages/[network]/stake/[address].tsx | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 pages/.typos.toml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 56a1c46..3d9fe6e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -12,4 +12,6 @@ jobs: uses: actions/checkout@v4 - name: Check for Typos - uses: crate-ci/typos@v1.15.5 \ No newline at end of file + uses: crate-ci/typos@v1.15.5 + with: + config: .typos.toml \ No newline at end of file diff --git a/pages/.typos.toml b/pages/.typos.toml new file mode 100644 index 0000000..1e84917 --- /dev/null +++ b/pages/.typos.toml @@ -0,0 +1,3 @@ +ignore = [ + "graphql/*" # Ignoring all files in graphql directory +] \ No newline at end of file diff --git a/pages/[network]/stake/[address].tsx b/pages/[network]/stake/[address].tsx index 0a45641..7a58655 100644 --- a/pages/[network]/stake/[address].tsx +++ b/pages/[network]/stake/[address].tsx @@ -63,7 +63,7 @@ const StakePage: NextPage = ({ stakeState, blockIndex }) => {

Version: {stakeState.version}

Deposit: {stakeState.deposit}

-

StartedBlcokIndex: {stakeState.startedBlockIndex}

+

StartedBlockIndex: {stakeState.startedBlockIndex}

ReceivedBlockIndex: {stakeState.receivedBlockIndex}

Contract