Skip to content

Commit

Permalink
fix: 로그인 axios
Browse files Browse the repository at this point in the history
Co-authored-by: ChanWoo Kim <[email protected]>
  • Loading branch information
esthel7 and kcwww committed Nov 30, 2023
1 parent 40ed2de commit 9cc6a3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion front/src/pages/Make/MainDeco/MakeSnowballCanvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const MainSnowballCavnas = () => {
title={snowballName}
color={new THREE.Color(bottomColor)}
/>
{/* <MainModel /> */}
</Canvas>
</CanvasContainer>
);
Expand Down
2 changes: 1 addition & 1 deletion front/src/pages/Make/MainDeco/Steps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const Steps = () => {
return (
<>
<StyledTopWrap>
<HeaderText Ref={null} userName="빋는사람" />
<HeaderText Ref={null} userName="받는사람" />

{step === lastConfirm || step === doneStep ? null : (
<StateBar>{renderStateBoxes()}</StateBar>
Expand Down
4 changes: 3 additions & 1 deletion front/src/router/IsLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const IsLogin: React.FC<{ children: ReactNode }> = ({ children }) => {
useEffect(() => {
if (url === '') {
axios
.get('/api/user')
.get('/api/user', {
withCredentials: true
})
.then(res => {
if (res.status === 200) {
const data = res.data;
Expand Down

0 comments on commit 9cc6a3f

Please sign in to comment.