Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

Pull schedule dates from Firebase#545

Open
sidyakinian wants to merge 2 commits intodevfrom
dynamic-schedule-dates
Open

Pull schedule dates from Firebase#545
sidyakinian wants to merge 2 commits intodevfrom
dynamic-schedule-dates

Conversation

@sidyakinian
Copy link
Copy Markdown
Contributor

Description

Pulls schedule dates from Firebase instead of having them hardcoded.

Other considerations

Changed to short date format so it's a bit easier to see the day number (see screenshot), if you think a different format is better lmk

const data = doc.data()
if (data) {
setStart(new Date(data.hackathonStart))
setEnd(new Date(data.hackathonEnd))
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Just a small variable naming change, unrelated

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant