diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..702e81f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM node:14.4.0-alpine3.10 +USER root +WORKDIR /frontend +COPY . /frontend +RUN yarn +RUN yarn build \ No newline at end of file diff --git a/src/components/QuestionsForm/hooks.ts b/src/components/QuestionsForm/hooks.ts index 556701b..d787976 100644 --- a/src/components/QuestionsForm/hooks.ts +++ b/src/components/QuestionsForm/hooks.ts @@ -24,7 +24,6 @@ export const useForm = () => { const setInitialState = useCallback( (questions: QuestionT[]) => { const state = getInitialState(questions) - console.log('Setting state') setAnswers(state) }, [setAnswers]