Skip to content

Commit

Permalink
chore: 코드리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
j-nary committed Nov 18, 2024
1 parent 9402721 commit e6e2aaf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pages/seniorProfile/SeniorProfilePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { Header } from '../../components/commons/Header';
import ProgressBar from '../../components/commons/ProgressBar';
import theme from '../../styles/theme';
import { useLocation, useNavigate } from 'react-router-dom';
import { setRole } from '@utils/storage';

const SeniorProfilePage = () => {
const [step, setStep] = useState(0);
Expand All @@ -26,7 +25,6 @@ const SeniorProfilePage = () => {
const userName = step >= 2 && step <= 4 ? nickname : '';

useEffect(() => {
setRole('SENIOR');
if (!seniorId || !nickname) navigate('/');
}, [seniorId, nickname, navigate]);

Expand Down

0 comments on commit e6e2aaf

Please sign in to comment.