Minor cleaning
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
import React from "react";
|
||||
import { Helmet } from "react-helmet";
|
||||
import "./EventCreatePage.scss";
|
||||
import { isAuthenticated } from "@utils/auth";
|
||||
import Form from "react-jsonschema-form";
|
||||
import { Tag, getTags } from "@models/Tag";
|
||||
import { SignupForm, getForms } from "@models/SignupForm";
|
||||
import { createEvent, getEvent, updateEvent, Event } from "@models/Event";
|
||||
import DatetimeWidget from "@components/DatetimeWidget";
|
||||
import SectionDividerWidget from "@components/SectionDividerWidget";
|
||||
import Icon from "@components/Icon";
|
||||
import { IconType } from "@components/Icon/Icon";
|
||||
|
||||
const widgets = {
|
||||
datetime: DatetimeWidget,
|
||||
|
||||
@@ -136,7 +136,7 @@ class SignupCreatePage extends React.Component<SignupCreatePageProps, SignupCrea
|
||||
default: false,
|
||||
},
|
||||
quota: {
|
||||
type: ["integer"],
|
||||
type: "integer",
|
||||
title: "Quota",
|
||||
minimum: 0,
|
||||
default: 0,
|
||||
|
||||
Reference in New Issue
Block a user