Skip to content

Commit 57faea9

Browse files
committed
📝 배포 확인 코드 제거
1 parent b9cbd35 commit 57faea9

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/pages/index.tsx

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,8 @@ import Header from '@/components/product/landing/Header';
22
import Main from '@/components/product/landing/Main';
33
import Footer from '@/components/product/landing/Footer';
44
import useAuthRedirect from '@/hooks/useAuthRedirect';
5-
import { useEffect } from 'react';
65

76
export default function Home() {
8-
// 배포 확인 테스트
9-
useEffect(() => {
10-
const url = window.location.href;
11-
if (url === 'https://dev-taskify.vercel.app/') {
12-
console.log('develop branch');
13-
} else if (url === 'https://taskify-codeit.vercel.app/') {
14-
console.log('main branch');
15-
}
16-
}, []);
17-
187
const isNotRedirected = useAuthRedirect();
198

209
if (!isNotRedirected) {

0 commit comments

Comments
 (0)