Skip to content

Commit

Permalink
fix: 24시간제로 변경 시 표에서 발생하는 시간 표시 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
corinthionia committed Aug 1, 2023
1 parent 2f7d72b commit 49fa63d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { useEffect, useState } from 'react';
import { AvailableDateTimeTypes } from '../../types/current';
import { API } from '../../utils/API';
import { useParams } from 'react-router-dom';
import { getRange } from '../../utils/getRange';
import { getTimeRange } from '../../utils/getTimeRange';

interface TableTypes {
dates: string[];
Expand All @@ -26,7 +26,7 @@ interface TableTypes {

const Table = ({ dates, startTime, endTime, participants }: TableTypes) => {
const { roomUUID } = useParams();
const timeRange = getRange(parseInt(startTime), parseInt(endTime));
const timeRange = getTimeRange(parseInt(startTime), parseInt(endTime));

const [currentTableInfo, setCurrentTableInfo] = useState<
AvailableDateTimeTypes[]
Expand Down

0 comments on commit 49fa63d

Please sign in to comment.