Skip to content

Commit

Permalink
Merge pull request #448 from SCCapstone/fixCreateBug
Browse files Browse the repository at this point in the history
fix create bug
  • Loading branch information
epadams authored Mar 28, 2024
2 parents 4853a39 + b78aa03 commit 5efa4d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FU.SPA/src/components/CreatePost.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import { DateTimePicker } from '@mui/x-date-pickers/DateTimePicker';
export default function CreatePost() {
const [game, setGame] = useState(null);
const [title, setTitle] = useState('');
const [startTime, setStartTime] = useState(dayjs());
const [endTime, setEndTime] = useState(dayjs().add(30, 'minute'));
const [startTime, setStartTime] = useState(dayjs().add(30, 'minute'));
const [endTime, setEndTime] = useState(dayjs().add(35, 'minute'));
const [description, setDescription] = useState('');
const [tags, setTags] = useState([]);
const navigate = useNavigate();
Expand Down

0 comments on commit 5efa4d9

Please sign in to comment.