We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9cbd35 commit 57faea9Copy full SHA for 57faea9
src/pages/index.tsx
@@ -2,19 +2,8 @@ import Header from '@/components/product/landing/Header';
2
import Main from '@/components/product/landing/Main';
3
import Footer from '@/components/product/landing/Footer';
4
import useAuthRedirect from '@/hooks/useAuthRedirect';
5
-import { useEffect } from 'react';
6
7
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
-
18
const isNotRedirected = useAuthRedirect();
19
20
if (!isNotRedirected) {
0 commit comments