When checking on a weekend, the next schoolday is the first option in the dropdown and displayed as the selected, both as intended.
However, under the hood, the current date is selected. This is (probably) caused by the selection state variable in HomeScreen not being updated to the first date option after they are generated, which... We should probably do.
When checking on a weekend, the next schoolday is the first option in the dropdown and displayed as the selected, both as intended.
However, under the hood, the current date is selected. This is (probably) caused by the
selection
state variable inHomeScreen
not being updated to the first date option after they are generated, which... We should probably do.