Oprava zbytečného posílání loginu na server

This commit is contained in:
mates committed 2023-09-27 18:34:14 +02:00
1 parent bef6178a6f
commit 401833f763
2 files changed
+3 -5

No files matched your search

+1 -3
View File
@@ -268,9 +268,7 @@ function App() {
const handleChangeDepartureTime = async (event: React.ChangeEvent<HTMLSelectElement>) => {
if (foodChoiceList?.length && choiceRef.current?.value) {
if (auth?.login) {
await changeDepartureTime(auth.login, event.target.value, dayIndex);
}
await changeDepartureTime(event.target.value, dayIndex);
}
}