Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions backend/modules/graphql.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ module.exports = app => {
const server = new ApolloServer({
schema,
playground: false,
// TODO make instrospection false in production
introspection: true,
introspection: false,
context: ({ req, res }) => ({
req,
res,
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/inputs/BottomBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const BottomBar = ({
<Button
color="theme_white"
variant="contained"
disabled={loading}
onClick={onSubmit}
>
{submitLabel}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,9 @@ const SubmissionForm = props => {
autoHideDuration: 3000,
}),
)
} finally {
actions.setSubmitting(false)
}

actions.setSubmitting(false)
}}
>
{renderForm}
Expand Down