Skip to content

Commit

Permalink
[Feat] 명세 일부 수정 #663
Browse files Browse the repository at this point in the history
  • Loading branch information
김성욱 authored and 김성욱 committed Feb 20, 2023
1 parent 6e58776 commit c5584cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 4 additions & 5 deletions components/admin/scheduler/SchedulerEdit.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { useEffect, useState } from 'react';
import instance from 'utils/axios';
import styles from 'styles/admin/scheduler/SchedulerEdit.module.scss';
import SchedulerPreview from './SchedulerPreview';

interface EditedSchedule {
viewTimePast: number;
viewTimeFuture: number;
gameTime: 15 | 30 | 60;
blindShowTime: number;
extraSlotTime: number;
slotCreateCycle: number;
}

export default function SchedulerEdit() {
Expand All @@ -17,8 +16,6 @@ export default function SchedulerEdit() {
viewTimeFuture: 6,
gameTime: 15,
blindShowTime: 5,
extraSlotTime: 1,
slotCreateCycle: 1,
});

const initInfo = async () => {
Expand Down Expand Up @@ -48,7 +45,9 @@ export default function SchedulerEdit() {

return (
<div className={styles.content}>
<div className={styles.imgContainer}>image</div>
<div className={styles.imgContainer}>
<SchedulerPreview />
</div>
<div className={styles.inputContainer}>
<div>
보여주는 시간: ({scheduleInfo.viewTimePast}시간) 현재 (
Expand Down
3 changes: 3 additions & 0 deletions components/admin/scheduler/SchedulerPreview.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function SchedulerPreview() {
return <div></div>;
}

0 comments on commit c5584cd

Please sign in to comment.