Skip to content

Commit

Permalink
fix: 빌드 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jhj2713 committed Aug 12, 2024
1 parent 7507965 commit 0f5bb41
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions admin/src/apis/lotteryAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ export const LotteryAPI = {
resolve([
{
lotteryEventId: 1,
startDate: "2024-07-26 00:00",
endDate: "2024-08-25 23:59",
startDate: "2024-07-26",
startTime: "00:00",
endDate: "2024-08-25",
endTime: "23:59",
appliedCount: 1000000,
winnerCount: 363,
},
Expand Down
8 changes: 5 additions & 3 deletions admin/src/pages/Lottery/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,20 @@ import TabHeader from "@/components/TabHeader";
import Table from "@/components/Table";
import TimePicker from "@/components/TimePicker";
import { LOTTERY_HEADER } from "@/constants/lottery";
import { LotteryType } from "@/types/lottery";
import { LotteryEventType } from "@/types/lottery";

export default function Lottery() {
const navigate = useNavigate();

const [lottery, setLottery] = useState<LotteryType>({} as LotteryType);
const [lottery, setLottery] = useState<LotteryEventType>({} as LotteryEventType);

useEffect(() => {
const data = {
lotteryEventId: 1,
startDate: "2024-07-26 00:00",
startDate: "2024-07-26",
startTime: "00:00",
endDate: "2024-08-25 23:59",
endTime: "23:59",
appliedCount: 1000000,
winnerCount: 363,
};
Expand Down

0 comments on commit 0f5bb41

Please sign in to comment.