Skip to content

Commit

Permalink
format again
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilkka Korhonen authored and Ilkka Korhonen committed Jun 26, 2024
1 parent 678ff56 commit fdbb679
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('AvailableRoomList', () => {
rooms={fakeRooms}
bookings={fakeBookings}
bookingDuration={15}
startingTime='Now'
startingTime="Now"
/>,
container
);
Expand All @@ -112,7 +112,7 @@ describe('AvailableRoomList', () => {
rooms={fakeRooms}
bookings={fakeBookings}
bookingDuration={15}
startingTime='Now'
startingTime="Now"
/>,
container
);
Expand All @@ -126,7 +126,7 @@ describe('AvailableRoomList', () => {
rooms={fakeRooms}
bookings={fakeBookings}
bookingDuration={30}
startingTime='Now'
startingTime="Now"
/>,
container
);
Expand All @@ -141,7 +141,7 @@ describe('AvailableRoomList', () => {
rooms={fakeRooms}
bookings={fakeBookings}
bookingDuration={60}
startingTime='Now'
startingTime="Now"
/>,
container
);
Expand All @@ -156,7 +156,7 @@ describe('AvailableRoomList', () => {
rooms={fakeRooms}
bookings={fakeBookings}
bookingDuration={120}
startingTime='Now'
startingTime="Now"
/>,
container
);
Expand All @@ -171,7 +171,7 @@ describe('AvailableRoomList', () => {
rooms={fakeRooms}
bookings={fakeBookings}
bookingDuration={15}
startingTime='Now'
startingTime="Now"
/>,
container
);
Expand Down Expand Up @@ -199,7 +199,7 @@ describe('AvailableRoomList', () => {
rooms={fakeRooms}
bookings={fakeBookings}
bookingDuration={15}
startingTime='Now'
startingTime="Now"
/>,
container
);
Expand Down Expand Up @@ -236,7 +236,7 @@ describe('AvailableRoomList', () => {
rooms={fakeRooms}
bookings={fakeBookings}
bookingDuration={30}
startingTime='Now'
startingTime="Now"
/>,
container
);
Expand Down Expand Up @@ -273,7 +273,7 @@ describe('AvailableRoomList', () => {
rooms={fakeRooms}
bookings={fakeBookings}
bookingDuration={60}
startingTime='Now'
startingTime="Now"
/>,
container
);
Expand Down Expand Up @@ -310,7 +310,7 @@ describe('AvailableRoomList', () => {
rooms={fakeRooms}
bookings={fakeBookings}
bookingDuration={120}
startingTime='Now'
startingTime="Now"
/>,
container
);
Expand Down
16 changes: 8 additions & 8 deletions frontend/src/components/BookingDrawer/BookingDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,14 +316,6 @@ const BookingDrawer = (props: Props) => {
}}
>
<DrawerContent>
<RowCentered>
<DurationPicker
duration={duration}
setDuration={setDuration}
onChange={handleDurationChange}
title="duration"
/>
</RowCentered>
<RowCentered>
<TimeTextBold>
{minutesToSimpleString(
Expand All @@ -342,6 +334,14 @@ const BookingDrawer = (props: Props) => {
Maximum {getTimeAvailable(room)} available
</AvailableText>
</RowCentered>
<Row>
<DurationPicker
duration={duration}
setDuration={setDuration}
onChange={handleDurationChange}
title="duration"
/>
</Row>
<Row>
<SmallText>booking (rounded to next 5 min)</SmallText>
</Row>
Expand Down

0 comments on commit fdbb679

Please sign in to comment.