diff --git a/public/sw.js b/public/sw.js
index ce241bcb..dfb7557e 100644
--- a/public/sw.js
+++ b/public/sw.js
@@ -2,7 +2,13 @@ const cacheName = '::myServiceWorker';
const version = 'v0.0.1';
const cacheList = [];
+const isDev =
+ self.location.hostname === 'localhost' ||
+ self.location.hostname === '127.0.0.1';
+
self.addEventListener('fetch', (e) => {
+ if (isDev) return e.respondWith(fetch(e.request));
+
e.respondWith(
caches.match(e.request).then((r) => {
if (r) {
diff --git a/src/components/RegisterPage/EmailSection.tsx b/src/components/RegisterPage/EmailSection.tsx
index 44da2216..2b341754 100644
--- a/src/components/RegisterPage/EmailSection.tsx
+++ b/src/components/RegisterPage/EmailSection.tsx
@@ -27,93 +27,89 @@ export const EmailSection = ({
console.log(isVerifyLoading);
}, [isVerifyLoading]);
return (
-
-
+
+
+
+ {email && isEmailSend && isEmailVerified && (
+
+ ✔ 인증이 완료되었습니다.
+
+ )}
+
+
+
+
+
+ {isEmailSend && (
- {email && isEmailSend && isEmailVerified && (
-
- ✔ 인증이 완료되었습니다.
-
- )}
-
+
-
-
-
- {isEmailSend && (
-
- )}
-
+ )}
);
};
diff --git a/src/pages/User/Login/LoginPage.tsx b/src/pages/User/Login/LoginPage.tsx
index 78d78847..fbfd55fe 100644
--- a/src/pages/User/Login/LoginPage.tsx
+++ b/src/pages/User/Login/LoginPage.tsx
@@ -4,6 +4,7 @@ import { EmailInput } from '@/components/Common/Input/EmailInput';
import { PasswordInput } from '@/components/Common/Input/PasswordInput';
import { useToastStore } from '@/hooks/useToastStore';
import { useLogin } from './../../../hooks/useLogin';
+import { Link } from 'react-router-dom';
// const KAKAO_CLIENT_ID = import.meta.env.VITE_JAVASCRIPT_KEY as string;
// const REDIRECT_URI = 'http://localhost:5173/login/kakao';
@@ -31,38 +32,38 @@ export const LoginPage = () => {
mutate({ email, password });
};
- const handleNavigateRegister = () => {
- navigate('/register');
- };
-
return (
-