From 3d36f13ecce6156db054157b38dcd00367547746 Mon Sep 17 00:00:00 2001 From: gayoung Date: Fri, 15 Mar 2024 22:57:26 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20line=20=EC=98=A4=EB=A5=98=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/home.tsx | 2 -- src/pages/select.tsx | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pages/home.tsx b/src/pages/home.tsx index eeb4f8d..20e30f4 100644 --- a/src/pages/home.tsx +++ b/src/pages/home.tsx @@ -15,8 +15,6 @@ function Home() { resetSelected(); }, []); - if (visitorError) return ; - return ( main-character diff --git a/src/pages/select.tsx b/src/pages/select.tsx index 6715f62..6a6da73 100644 --- a/src/pages/select.tsx +++ b/src/pages/select.tsx @@ -1,6 +1,5 @@ -import { useEffect, useState } from 'react'; +import { useState } from 'react'; import { Link, useNavigate, useParams } from 'react-router-dom'; -import { useMutation } from 'react-query'; import { useRecoilValue } from 'recoil'; import { Line } from 'rc-progress'; import { selectedAtom } from '../atoms'; @@ -8,7 +7,6 @@ import ImageFileUpload from '../components/ImageUpload'; import SelectItems from '../components/SelectItems'; import Header from '../components/Header'; import Modal from '../components/Modal'; -import Error from '../components/Error'; import styled from 'styled-components';