diff --git a/couchdb/data/shards/00000000-7fffffff/testdata.1643440069.couch b/couchdb/data/shards/00000000-7fffffff/testdata.1643440069.couch index 538ad22..03b4b56 100644 Binary files a/couchdb/data/shards/00000000-7fffffff/testdata.1643440069.couch and b/couchdb/data/shards/00000000-7fffffff/testdata.1643440069.couch differ diff --git a/pull.sh b/pull.sh deleted file mode 100644 index bddc158..0000000 --- a/pull.sh +++ /dev/null @@ -1 +0,0 @@ -git pull \ No newline at end of file diff --git a/webserver/public/picgoeshard.jpg b/webserver/public/picgoeshard.jpg new file mode 100644 index 0000000..3448472 Binary files /dev/null and b/webserver/public/picgoeshard.jpg differ diff --git a/webserver/src/Pages/InputPage.jsx b/webserver/src/Pages/InputPage.jsx index c4dbec5..f51d687 100644 --- a/webserver/src/Pages/InputPage.jsx +++ b/webserver/src/Pages/InputPage.jsx @@ -1,6 +1,6 @@ import React from "react"; import { useLocalDb } from "../DbContext"; -import "./InputPage.css" +import "./InputPage.css"; // import { Button, Intent, Spinner } from "@blueprintjs/core"; import FormRenderer from "@data-driven-forms/react-form-renderer/form-renderer"; import componentTypes from "@data-driven-forms/react-form-renderer/component-types"; @@ -8,21 +8,7 @@ import componentMapper from "@data-driven-forms/blueprint-component-mapper/compo import FormTemplate from "@data-driven-forms/blueprint-component-mapper/form-template"; import { Formik, FastField, Form } from "formik"; import InputNumberField from "../components/InputNumberField.jsx"; -import { - TextField, - Button, - Grid, - FormRow, - Divider, - Checkbox, - Radio, - FormControlLabel, - FormControl, - FormLabel, - RadioGroup, - IconButton, - InputAdornment, -} from "@material-ui/core"; +import { TextField, Button, Grid, FormRow, Divider, Checkbox, Radio, FormControlLabel, FormControl, FormLabel, RadioGroup, IconButton, InputAdornment } from "@material-ui/core"; import { AddCircleOutline, RemoveCircleOutline } from "@material-ui/icons"; const InputPage = () => { @@ -51,7 +37,7 @@ const InputPage = () => { climb_level: "", alliance: "", defence: "0", - disabled: false + disabled: false, }} validateOnChange="false" onSubmit={(values, { setSubmitting, resetForm }) => { @@ -74,18 +60,10 @@ const InputPage = () => { // resetForm(); //Hah tobad setSubmitting(false); }, 400); - }}> - {({ - values, - setValues, - errors, - touched, - handleChange, - handleBlur, - handleSubmit, - isSubmitting, - }) => ( -