Skip to content

Commit

Permalink
Testing push after update with commented out warn.
Browse files Browse the repository at this point in the history
  • Loading branch information
Draikth committed Jul 18, 2024
1 parent 140107b commit f29043c
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions app/post/PostEventForm.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
'use client';
// 'use client';

import { useState } from 'react';
import { Event } from '../../database/events';
// import { useState } from 'react';
// import { Event } from '../../database/events';

type Props = {
events: Event[];
};
// type Props = {
// events: Event[];
// };

export default function RegisterForm(props: Props) {
const [name, setName] = useState('');
const [type, setType] = useState('');
const [date, setDate] = useState('');
const [location, setLocation] = useState('');
const [duration, setDuration] = useState('');
const [entryFee, setEntryFee] = useState('');
const [category, setCategory] = useState('');
const [description, setDescription] = useState('');
const [image, setImage] = useState('');
const [organizerUrl, setOrganizerUrl] = useState('');
const [ageRestriction, setAgeRestriction] = useState('');
}
// export default function RegisterForm(props: Props) {
// const [name, setName] = useState('');
// const [type, setType] = useState('');
// const [date, setDate] = useState('');
// const [location, setLocation] = useState('');
// const [duration, setDuration] = useState('');
// const [entryFee, setEntryFee] = useState('');
// const [category, setCategory] = useState('');
// const [description, setDescription] = useState('');
// const [image, setImage] = useState('');
// const [organizerUrl, setOrganizerUrl] = useState('');
// const [ageRestriction, setAgeRestriction] = useState('');
// }

0 comments on commit f29043c

Please sign in to comment.