Skip to content

Commit

Permalink
fix: 소개 페이지 이동 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ww8007 committed Jul 26, 2023
1 parent d195343 commit 2d4539b
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/pages/IntroducePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,15 @@ import Text from '@/common-ui/Text';
import { navigatePath } from '@/constants/navigatePath';
import FriendFollowingItem from '@/friend/ui/friend/FriendFollowingItem';
import SettingsBox from '@/members/ui/SettingsBox';
import useAuthStore from '@/store/auth';
import getRem from '@/utils/getRem';
import { css } from '@emotion/react';
import styled from '@emotion/styled';
import { useNavigate } from 'react-router-dom';

const IntroducePage = () => {
const { showIntroduce, setShowIntroduce } = useAuthStore();

const navigate = useNavigate();
const onClickConfirm = () => {
if (showIntroduce) {
navigate(navigatePath.PROFILE);
setShowIntroduce(false);
}
if (!showIntroduce) navigate(-1);
navigate(navigatePath.PROFILE);
};

return (
Expand Down

1 comment on commit 2d4539b

@vercel
Copy link

@vercel vercel bot commented on 2d4539b Jul 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.