Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
황 태환 committed Feb 26, 2024
1 parent dea75aa commit fb9ec6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/create-character/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function CreateCharacter() {
/**
* 로그인한 유저는 스토리(step=1)을 건너뛰도록 합니다.
*/
const startIndex = useMemo(() => (searchParams.get('step') === '1' ? Steps.SetName : Steps.Story), [searchParams]);
const startIndex = useMemo(() => (searchParams.get('step') === '1' ? Steps.SetName : Steps.Story), []);

const handlePrevClick = useCallback(() => {
if (api?.selectedScrollSnap() === 1) {
Expand Down

0 comments on commit fb9ec6a

Please sign in to comment.