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

Creators Staking #155

Merged
merged 93 commits into from
Dec 29, 2023
Merged

Creators Staking #155

merged 93 commits into from
Dec 29, 2023

Conversation

teodorus-nathaniel
Copy link
Contributor

No description provided.

@teodorus-nathaniel teodorus-nathaniel marked this pull request as draft December 19, 2023 18:56
src/components/creators/MobileIncreaseSubRewards.tsx Outdated Show resolved Hide resolved
src/components/creators/cards/GetMoreSubCard.tsx Outdated Show resolved Hide resolved
src/components/main/HomePage.tsx Outdated Show resolved Hide resolved
src/components/spaces/LatestSpacesPage.tsx Outdated Show resolved Hide resolved
src/components/utils/OffchainUtils.ts Outdated Show resolved Hide resolved
@@ -99,14 +100,15 @@ const VoterButton = React.memo(
}

let icon: JSX.Element
const label = preview || isMobile ? undefined : newKind
const labelText = isUpvote ? 'Like' : 'Dislike'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove label

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I refactored, so I remove the preview props, as we no longer use any actions with label
but the label itself I still keep it as the button title so the button can have built in tooltip
image

src/rtk/features/creators/creatorsListSlice.ts Outdated Show resolved Hide resolved
src/rtk/features/creators/stakesSlice.ts Outdated Show resolved Hide resolved
src/rtk/features/creators/totalStakeSlice.ts Outdated Show resolved Hide resolved
@olehmell olehmell merged commit f9fbc14 into main Dec 29, 2023
2 checks passed
@olehmell olehmell deleted the deploy/creators branch December 29, 2023 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants