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 stale age being displayed #6

Merged
merged 2 commits into from
May 9, 2024
Merged

Fix stale age being displayed #6

merged 2 commits into from
May 9, 2024

Conversation

fkleon
Copy link
Owner

@fkleon fkleon commented May 9, 2024

  • Always re-calculate child age on component render to avoid stale values
  • Enable webpack bundle optimisations

fkleon added 2 commits May 9, 2024 23:42
This avoids age getting stale, e.g. when old saved data is imported.
Remove age from child state as it's no longer used there.
@fkleon fkleon merged commit cd5ef7c into main May 9, 2024
2 checks passed
@fkleon fkleon deleted the fix-age-refresh branch May 9, 2024 11:47
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