Commit 71ea74d6 authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

콘솔 출력 제거

parent 305afddb
...@@ -28,7 +28,7 @@ export const Profile = () => { ...@@ -28,7 +28,7 @@ export const Profile = () => {
async function getSurveys() { async function getSurveys() {
const surveys: SurveyType[] = await surveyApi.getSurveys(); const surveys: SurveyType[] = await surveyApi.getSurveys();
console.log(surveys); // console.log(surveys);
setCardDatas(surveys); setCardDatas(surveys);
} }
// let surveys = getSurvey(_id); // let surveys = getSurvey(_id);
......
...@@ -28,7 +28,7 @@ export const Question = ({ ...@@ -28,7 +28,7 @@ export const Question = ({
const [question, setQuestion] = useState({ ...element }); const [question, setQuestion] = useState({ ...element });
// const [isEditing, setIsEditing] = useState(false); // const [isEditing, setIsEditing] = useState(false);
console.log("is editing in question:", isEditing); // console.log("is editing in question:", isEditing);
async function handleEditComplete() { async function handleEditComplete() {
try { try {
...@@ -186,7 +186,7 @@ export const Question = ({ ...@@ -186,7 +186,7 @@ export const Question = ({
key={key} key={key}
id={question._id} id={question._id}
value={key} value={key}
selected={key === element.type} // selected={key === element.type}
> >
{value} {value}
</option> </option>
......
...@@ -35,7 +35,7 @@ export const CreateSurvey = () => { ...@@ -35,7 +35,7 @@ export const CreateSurvey = () => {
const initEditing = thisSurvey.questions.map((question) => { const initEditing = thisSurvey.questions.map((question) => {
return { qid: question._id, isEditing: false }; return { qid: question._id, isEditing: false };
}); });
console.log("init editing", initEditing); // console.log("init editing", initEditing);
setIsEditing(initEditing); setIsEditing(initEditing);
setSurvey(thisSurvey); setSurvey(thisSurvey);
...@@ -137,7 +137,7 @@ export const CreateSurvey = () => { ...@@ -137,7 +137,7 @@ export const CreateSurvey = () => {
} }
const questions = survey.questions; const questions = survey.questions;
console.log(questions); // console.log(questions);
return ( return (
<> <>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment