Skip to content

Commit

Permalink
Fix typos detected by typos workflow
Browse files Browse the repository at this point in the history
Ignoring graphql directory as the files are from planetarium/NineChronicles.Headless service and planetarium/mimir, they shouldn't be updated manually.
  • Loading branch information
weishan18 committed Oct 8, 2024
1 parent fc6bdcc commit 66d5d57
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ jobs:
uses: actions/checkout@v4

- name: Check for Typos
uses: crate-ci/[email protected]
uses: crate-ci/[email protected]
with:
config: .typos.toml
3 changes: 3 additions & 0 deletions pages/.typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignore = [
"graphql/*" # Ignoring all files in graphql directory
]
2 changes: 1 addition & 1 deletion pages/[network]/stake/[address].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const StakePage: NextPage<StakePageProps> = ({ stakeState, blockIndex }) => {
<div>
<p>Version: {stakeState.version}</p>
<p>Deposit: {stakeState.deposit}</p>
<p>StartedBlcokIndex: {stakeState.startedBlockIndex}</p>
<p>StartedBlockIndex: {stakeState.startedBlockIndex}</p>
<p>ReceivedBlockIndex: {stakeState.receivedBlockIndex}</p>
<div>
<h3>Contract</h3>
Expand Down

0 comments on commit 66d5d57

Please sign in to comment.