Skip to content

Commit c4a6b57

Browse files
committed
front: fix selectableSlot in useLinkedTrainSearch
Signed-off-by: SarahBellaha <[email protected]>
1 parent ddc52f5 commit c4a6b57

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

front/src/applications/stdcm/hooks/useLinkedTrainSearch.ts

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const useLinkedTrainSearch = () => {
2929

3030
const selectableSlot = useMemo(() => {
3131
const startDate = searchDatetimeWindow ? new Date(searchDatetimeWindow.begin) : new Date();
32-
startDate.setUTCHours(0, 0, 0);
3332
return {
3433
start: startDate,
3534
end: searchDatetimeWindow?.end || startDate,

0 commit comments

Comments
 (0)