-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
finish-monitor-log-submissions #129
base: dev
Are you sure you want to change the base?
Conversation
import { React, useState, useEffect } from 'react'; | ||
|
||
const SubmitSurvey = ({ setModalStep, onClose, submit }) => { | ||
console.log('entered'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
submitted: <Submitted onSubmit={submitForm} onClose={onClose} />, | ||
}; | ||
|
||
console.log('Entered Popup'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
} from '@chakra-ui/react'; | ||
import PropTypes from 'prop-types'; | ||
import { FiCheck } from 'react-icons/fi'; | ||
import { React, useState, useEffect } from 'react'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'useEffect' is defined but never used.
src/pages/MonitorLogPage.jsx
Outdated
@@ -323,17 +324,20 @@ const MonitorLogPage = ({ mode }) => { | |||
<Button | |||
colorScheme="cyan" | |||
type="submit" | |||
// onClick={handleSubmit} | |||
onClick={() => { | |||
console.log(formMethods.getValues()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
226a69f
to
cee24a3
Compare
@@ -84,6 +87,7 @@ const MonitorLogPage = ({ mode }) => { | |||
if (mode === 'edit' || mode === 'review') { | |||
try { | |||
const submission = await OCHBackend.get(`submission/${userData.id}`); | |||
console.log(submission.data); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected console statement.
closes #126