fix: oprava přeskoku týdne rychlým klikáním na šipky
CI / Generate TypeScript types (push) Successful in 18s
CI / Server unit tests (push) Successful in 20s
CI / Build server (push) Successful in 24s
CI / Build client (push) Successful in 36s
CI / Playwright E2E tests (push) Successful in 1m18s
CI / Build and push Docker image (push) Successful in 53s
CI / Notify (push) Successful in 1s
CI / Generate TypeScript types (push) Successful in 18s
CI / Server unit tests (push) Successful in 20s
CI / Build server (push) Successful in 24s
CI / Build client (push) Successful in 36s
CI / Playwright E2E tests (push) Successful in 1m18s
CI / Build and push Docker image (push) Successful in 53s
CI / Notify (push) Successful in 1s
This commit is contained in:
+2
-1
@@ -528,7 +528,8 @@ function App() {
|
||||
}
|
||||
}
|
||||
|
||||
const handleDayChange = async (dayIndex: number) => {
|
||||
const handleDayChange = async (requestedIndex: number) => {
|
||||
const dayIndex = Math.max(0, Math.min(4, requestedIndex));
|
||||
setDayIndex(dayIndex);
|
||||
dayIndexRef.current = dayIndex;
|
||||
if (choiceRef?.current?.value) {
|
||||
|
||||
Reference in New Issue
Block a user