Skip to content

Commit 255554c

Browse files
committed
sort を修正
1 parent eeb4014 commit 255554c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/consts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const sortSlots = (
1818
period: number;
1919
}[],
2020
) => {
21-
const order = ["", "", "", "", ""];
21+
const order = ["mon", "tue", "wed", "thu", "fri", "sat", "sun", "other"];
2222
return slots.sort((a, b) => {
2323
const dayComparison = order.indexOf(a.day) - order.indexOf(b.day);
2424
if (dayComparison !== 0) {

0 commit comments

Comments
 (0)