From ab133dd41437745ca597cf3ec20b1f914eefe76b Mon Sep 17 00:00:00 2001 From: esthel Date: Fri, 8 Dec 2023 05:10:05 +0900 Subject: [PATCH] style: import alias --- front/src/components/Prev/Prev.tsx | 2 +- front/src/pages/Intro/MsgBox.tsx | 4 ++-- front/src/pages/Make/Snowball/MainDeco/MainDeco.tsx | 2 +- front/src/pages/Make/Snowball/MainDeco/Steps.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/front/src/components/Prev/Prev.tsx b/front/src/components/Prev/Prev.tsx index ede53a7..3afb3ec 100644 --- a/front/src/components/Prev/Prev.tsx +++ b/front/src/components/Prev/Prev.tsx @@ -1,7 +1,7 @@ import { useContext } from 'react'; import { useNavigate } from 'react-router-dom'; import styled from 'styled-components'; -import { PrevContext } from '../SnowGlobeCanvas/PrevProvider'; +import { PrevContext } from '@components/SnowGlobeCanvas/PrevProvider'; import { MessageContext } from '@pages/Visit/MessageProvider'; interface PrevProps { diff --git a/front/src/pages/Intro/MsgBox.tsx b/front/src/pages/Intro/MsgBox.tsx index e766fdf..26cdddb 100644 --- a/front/src/pages/Intro/MsgBox.tsx +++ b/front/src/pages/Intro/MsgBox.tsx @@ -1,7 +1,7 @@ import { useContext } from 'react'; import { Msg } from '@components'; -import { MessageContext } from '../Visit/MessageProvider'; -import { SnowBallContext } from '../Visit/SnowBallProvider'; +import { MessageContext } from '@pages/Visit/MessageProvider'; +import { SnowBallContext } from '@pages/Visit/SnowBallProvider'; const MsgBox = () => { const { message, sender, color } = useContext(MessageContext); // message가 '' 비어있지 않을때 diff --git a/front/src/pages/Make/Snowball/MainDeco/MainDeco.tsx b/front/src/pages/Make/Snowball/MainDeco/MainDeco.tsx index b778d8c..c41d301 100644 --- a/front/src/pages/Make/Snowball/MainDeco/MainDeco.tsx +++ b/front/src/pages/Make/Snowball/MainDeco/MainDeco.tsx @@ -1,7 +1,7 @@ import { Prev, UIContainer } from '@components'; import Steps from './Steps'; -import { DecoProvider } from './DecoProvider'; import MakeSnowballCanvas from './MakeSnowballCanvas'; +import { DecoProvider } from './DecoProvider'; interface MainDecoProps { set: React.Dispatch>; diff --git a/front/src/pages/Make/Snowball/MainDeco/Steps.tsx b/front/src/pages/Make/Snowball/MainDeco/Steps.tsx index 6fd7542..7bff52b 100644 --- a/front/src/pages/Make/Snowball/MainDeco/Steps.tsx +++ b/front/src/pages/Make/Snowball/MainDeco/Steps.tsx @@ -7,8 +7,8 @@ import { InputSnowball, HeaderText, StepButton } from '@components'; import MakeButton from './MakeButton'; import DecoBox from './DecoBox'; import DecoEnroll from './DecoEnroll'; -import { DecoContext } from './DecoProvider'; import { UserData } from '@pages/Visit/SnowBallProvider'; +import { DecoContext } from './DecoProvider'; const StateBar = styled.div` display: flex;