-
Notifications
You must be signed in to change notification settings - Fork 176
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
remove need for hcb stats page for deploy #1456
base: main
Are you sure you want to change the base?
remove need for hcb stats page for deploy #1456
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
📝 Changed routes:
Commit ebb2216 (https://site-875j9k86j.hackclub.dev). |
props: { | ||
stats | ||
}, | ||
revalidate: 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good call on the revalidate for get static props.
instead of every 10 seconds. maybe we do once an hour? or even once a day? these numbers don't change that quickly.
})} raised` | ||
) | ||
} catch { | ||
bankData.push('error') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if we pushed nothing? then in the card, we could replace:
data[0] === 'error' ? 'The coolest money thing' : data[0]
with
data[0] || 'The coolest money thing'
lmk once you have the lint errors fixed |
No description provided.