diff options
| author | eug-vs <eug-vs@keemail.me> | 2020-12-04 01:29:05 +0300 |
|---|---|---|
| committer | eug-vs <eug-vs@keemail.me> | 2020-12-04 01:29:05 +0300 |
| commit | 2b0d5d2a6db017f5eaeb88a4ec71a9590854e9c3 (patch) | |
| tree | 57591444809e41c4986c9784068623780caf675a /src/containers/BsuFantomSection | |
| parent | 3836f103ff40637e48c04eae9968b008e524294f (diff) | |
| download | famcs-kit-2b0d5d2a6db017f5eaeb88a4ec71a9590854e9c3.tar.gz | |
feat: add type to event
Diffstat (limited to 'src/containers/BsuFantomSection')
| -rw-r--r-- | src/containers/BsuFantomSection/EventForm.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/containers/BsuFantomSection/EventForm.tsx b/src/containers/BsuFantomSection/EventForm.tsx index 528636f..64d4165 100644 --- a/src/containers/BsuFantomSection/EventForm.tsx +++ b/src/containers/BsuFantomSection/EventForm.tsx @@ -20,9 +20,10 @@ const EventForm: React.FC<PropTypes> = ({ mutate }) => { const handleSubmit = () => { if (schedule && conferenceId) { const event: Partial<Event> = { - name, + type: 'class', schedule, context: { + name, attendanceId, conferenceId, participants: [] |