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 typos in Base Learn badge description and comments #1590

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const BADGE_INFO: Record<
name: 'Base Learn Newcomer',
title: 'Base Learn Newcomer',
description:
'You completed these Base Learn Modules: Basic Contracts, Storage, Control Structures, Arrays, Inheritance, Mappings, Structs, Error Triags, New Keyword, and Imports.',
'You completed these Base Learn Modules: Basic Contracts, Storage, Control Structures, Arrays, Inheritance, Mappings, Structs, Error Flags, New Keyword, and Imports.',
cta: 'Go to Base Learn',
ctaLink: 'https://guild.xyz/base/base-learn',
image: baseLearnNewcomer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ export default function useBuildathonParticipant(address?: `0x${string}`): {
});

if (!balanceOf) return { isParticipant: false, isWinner: false };
// winners will have both a particpant SBT and a winner SBT
// winners will have both a participant SBT and a winner SBT
return { isParticipant: balanceOf > 0, isWinner: balanceOf > 1 };
}