From 1f02ab5c692801709221d4e27f3001a40cb4e8ae Mon Sep 17 00:00:00 2001 From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> Date: Sun, 17 Jan 2021 02:41:24 +0300 Subject: Updates Switch Statement Indent Changes the switch statement indentation level to 1 in the eslint config, and updates files accordingly. Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> --- src/pages/FormPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pages/FormPage.tsx') diff --git a/src/pages/FormPage.tsx b/src/pages/FormPage.tsx index 2d34b3c..c49b9fd 100644 --- a/src/pages/FormPage.tsx +++ b/src/pages/FormPage.tsx @@ -177,8 +177,8 @@ function FormPage(): JSX.Element { // TODO: Parse input from each question, and submit switch (question.type) { - default: - console.log(question.id, prop.props.public_state); + default: + console.log(question.id, prop.props.public_state); } }); -- cgit v1.2.3