File tree Expand file tree Collapse file tree
pages/_dashboard/renderDashboard/participant/project Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,8 +80,7 @@ module.exports = app => {
8080 const server = new ApolloServer ( {
8181 schema,
8282 playground : false ,
83- // TODO make instrospection false in production
84- introspection : true ,
83+ introspection : false ,
8584 context : ( { req, res } ) => ( {
8685 req,
8786 res,
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ const BottomBar = ({
124124 < Button
125125 color = "theme_white"
126126 variant = "contained"
127+ disabled = { loading }
127128 onClick = { onSubmit }
128129 disabled = { loading }
129130 >
Original file line number Diff line number Diff line change @@ -298,9 +298,9 @@ const SubmissionForm = props => {
298298 autoHideDuration : 10000 ,
299299 } ) ,
300300 )
301+ } finally {
302+ actions . setSubmitting ( false )
301303 }
302-
303- actions . setSubmitting ( false )
304304 } }
305305 >
306306 { renderForm }
You can’t perform that action at this time.
0 commit comments