Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

PE-7702: adjust UI if app is loaded prior to epoch zero start #170

Merged
merged 8 commits into from
Feb 19, 2025

Conversation

kunstmusik
Copy link
Collaborator

  • show "Awaiting first epoch" in various places
  • calculates next epoch according to epochZeroStartTimestamp from epochSettings
  • Disables snitch row on gateway details page

Copy link

github-actions bot commented Feb 17, 2025

Visit the preview URL for this PR (updated for commit 541c68f):

https://ar-io-network-portal-a40ee--pr170-pe-7702-adjust-ui-fo-jbliwu4f.web.app

(expires Tue, 04 Mar 2025 19:52:45 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 7abfae09c4446982a71cbb94b0cbf4688377a111

@kunstmusik kunstmusik marked this pull request as ready for review February 18, 2025 16:31
@kunstmusik kunstmusik requested a review from a team as a code owner February 18, 2025 16:31

const [currentEpochLabel, setCurrentEpochLabel] = useState<string>();

useEffect(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

this could probably be a useMemo/Callback instead of useEffect

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good idea, useMemo makes sense here, modified it

@kunstmusik kunstmusik merged commit e997b90 into develop Feb 19, 2025
5 checks passed
@kunstmusik kunstmusik deleted the PE-7702-adjust-ui-for-mainnet-launch branch February 19, 2025 21:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants