diff --git a/src/constants/paragraphs.js b/src/constants/paragraphs.js
index f51c4d1..17a8ffc 100644
--- a/src/constants/paragraphs.js
+++ b/src/constants/paragraphs.js
@@ -15,7 +15,7 @@ export const MOCKUP_STRING = [
'\n\n
\n Table Sample\n \n \n \n \n \n | first cell | \n second cell | \n
\n \n | third cell | \n fourth cell | \n
\n \n
\n \n',
// c
- "#include \n\n int main(){\n\n printf(“Hello world” );\n return 0;\n}",
+ "#include \n\nint main() {\n\n printf(“Hello world”);\n return 0;\n}",
'#include \n\nint main() {\n int myAge = 43;\n printf("%p", &myAge);\n return 0;\n}',
'#include \n\nint main() {\n int i = 0;\n for (i = 0; i <= 10; i = i + 2) {\n printf("%d", i);\n }\n}',
'#include \n\nint main() {\n int integer = 15;\n\n if(integer > 0) {\n printf("positive");\n }\n else if(integer < 0) {\n printf("negative");\n }\n else {\n printf("0");\n }\n}',
diff --git a/src/pages/Login/index.js b/src/pages/Login/index.js
index 30337ff..75decbe 100644
--- a/src/pages/Login/index.js
+++ b/src/pages/Login/index.js
@@ -8,8 +8,11 @@ import InputPassword from "components/common/Inputs/InputPassword";
import Button from "components/common/Button";
import { useNavigate } from "react-router-dom";
import { Link } from "react-router-dom";
+import useUser from "hooks/useUser";
function Login() {
+ const loggedOut = useUser.loggedOut;
+
const navigate = useNavigate();
const handleSubmit = useCallback((e) => {
e.preventDefault();
@@ -44,6 +47,7 @@ function Login() {
// 로그인 실패 시
// console.log(e);
console.log("없는 계정입니다. ");
+
}
}
login();
@@ -54,17 +58,17 @@ function Login() {
로그인하기
-
-
+
+
+
+
+
+ 회원가입
+
+ 하러 가기
+
+
-
-
-
- 회원가입
-
- 하러 가기
-
-
>
);
}
diff --git a/src/pages/Register/index.js b/src/pages/Register/index.js
index 40d78f4..f617b28 100644
--- a/src/pages/Register/index.js
+++ b/src/pages/Register/index.js
@@ -47,17 +47,17 @@ function Register() {
+
+
+ 계정이 이미 있으세요?{" "}
+
+ 로그인
+
+ 하러 가기
+
+
-
-
- 계정이 이미 있으세요?{" "}
-
- 로그인
-
- 하러 가기
-
-
>
);
}