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

feat: support claim-all intervals outside of sweep action #35

Closed
wants to merge 1 commit into from

Conversation

dmccartney
Copy link
Owner

Let non-safe users claim multiple reward intervals in a single shot.

This also adds a prettier check to CI.

Comment on lines +40 to +41
<Grid sx={sx} rowSpacing={2} container alignItems="center">
<Grid item xs={12} md={5}>
Copy link
Owner Author

Choose a reason for hiding this comment

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

This wraps it in a responsive grid so on smaller screens it wraps to its own row, below the header text.

Comment on lines +27 to +34
import NodePeriodicRewardsTable from "../components/NodePeriodicRewardsTable";
import NodeContinuousRewardsTable from "../components/NodeContinuousRewardsTable";
import NodeRewardsSummaryCard from "../components/NodeRewardsSummaryCard";
import RewardsHelpInfo from "../components/RewardsHelpInfo";
import SafeSweepCard from "../components/SafeSweepCard";
import useCanConnectedAccountWithdraw from "../hooks/useCanConnectedAccountWithdraw";
import useNodeContinuousRewards from "../hooks/useNodeContinuousRewards";
import useGasPrice from "../hooks/useGasPrice";
Copy link
Owner Author

Choose a reason for hiding this comment

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

Mostly just tidying imports. The only meaningful change was adding the import for ClaimAllButtonGroup.

Copy link

Visit the preview URL for this PR (updated for commit 626882b):

https://rocketsweep-prod--pr35-daniel-claim-all-uns-kshhj2zu.web.app

(expires Sun, 24 Dec 2023 08:07:00 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: cbd563b87d039ec85d93a577fba3ca36b3c6968a

@dmccartney dmccartney closed this May 20, 2024
@dmccartney dmccartney deleted the daniel-claim-all-unsweep branch May 20, 2024 06:11
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.

1 participant