Skip to content

chore: fix some minor issues in comments #1180

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

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 2 additions & 2 deletions apps/main/src/dao/components/UserBox/VoteDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const VoteDialog = ({ userAddress, activeProposal, className, votingPower, propo
</StyledAlertBox>
</Box>
)}
{executeTx?.status === 'SUCCESS' && <SuccessWrapper>{t`Proposal vote succesfully cast!`}</SuccessWrapper>}
{executeTx?.status === 'SUCCESS' && <SuccessWrapper>{t`Proposal vote successfully cast!`}</SuccessWrapper>}
{executeTx?.status !== 'SUCCESS' && (
<ExecuteButton
variant="icon-filled"
Expand Down Expand Up @@ -99,7 +99,7 @@ const VoteDialog = ({ userAddress, activeProposal, className, votingPower, propo
<Wrapper className={className}>
<Box flex flexColumn flexGap="var(--spacing-3)">
<VotedMessageWrapper>
<VotedMessage>{t`You have succesfully voted:`}</VotedMessage>
<VotedMessage>{t`You have successfully voted:`}</VotedMessage>
<VotedMessage>
{userProposalVotes?.[proposalKey] && votedFor && (
<VotedRow>
Expand Down
2 changes: 1 addition & 1 deletion apps/main/src/dao/store/createGaugesSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ const createGaugesSlice = (set: SetState<State>, get: GetState<State>): GaugesSl
}),
)
dismissLoading()
const successNotificationMessage = t`Succesfully cast vote!`
const successNotificationMessage = t`Successfully cast vote!`
notify(successNotificationMessage, 'success', 15000)

invalidateUserGaugeWeightVotesQuery({
Expand Down
8 changes: 4 additions & 4 deletions apps/main/src/loan/store/createScrvUsdSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ const createScrvUsdSlice = (set: SetState<State>, get: GetState<State>) => ({
dismissNotificationHandler()
void get()[sliceKey].checkApproval.depositApprove(amount)

const successNotificationMessage = t`Succesfully approved ${amount} crvUSD!`
const successNotificationMessage = t`Successfully approved ${amount} crvUSD!`
notify(successNotificationMessage, 'success', 15000)

return true
Expand Down Expand Up @@ -286,7 +286,7 @@ const createScrvUsdSlice = (set: SetState<State>, get: GetState<State>) => ({

get()[sliceKey].setStakingModuleChangeReset()

const successNotificationMessage = t`Succesfully deposited ${amount} crvUSD!`
const successNotificationMessage = t`Successfully deposited ${amount} crvUSD!`
notify(successNotificationMessage, 'success', 15000)
} catch (error) {
dismissNotificationHandler()
Expand Down Expand Up @@ -341,7 +341,7 @@ const createScrvUsdSlice = (set: SetState<State>, get: GetState<State>) => ({

get()[sliceKey].setStakingModuleChangeReset()

const successNotificationMessage = t`Succesfully withdrew ${amount} scrvUSD!`
const successNotificationMessage = t`Successfully withdrew ${amount} scrvUSD!`
notify(successNotificationMessage, 'success', 15000)
} catch (error) {
dismissNotificationHandler()
Expand Down Expand Up @@ -395,7 +395,7 @@ const createScrvUsdSlice = (set: SetState<State>, get: GetState<State>) => ({

get()[sliceKey].setStakingModuleChangeReset()

const successNotificationMessage = t`Succesfully withdrew ${amount} scrvUSD!`
const successNotificationMessage = t`Successfully withdrew ${amount} scrvUSD!`
notify(successNotificationMessage, 'success', 15000)
} catch (error) {
dismissNotificationHandler()
Expand Down
2 changes: 1 addition & 1 deletion packages/curve-ui-kit/src/shared/ui/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const Accordion = ({
color="textSecondary"
sx={{
textAlign: 'start',
// Specifcally unset to override the variant's uppercase styling; we want full control here
// Specifically unset to override the variant's uppercase styling; we want full control here
textTransform: ghost ? 'unset' : 'uppercase',
}}
>
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress/component/numeric-text-field.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function TestComponent({ initialValue = 5, max }: { initialValue?: number; max?:
<>
<NumericTextField value={value} onBlur={setValue} onChange={setTempValue} min={-Infinity} max={max} />
<div>
Comitted value: <span data-testid="state-value">{value}</span>
Committed value: <span data-testid="state-value">{value}</span>
</div>

<div>
Expand Down