Skip to content

Commit

Permalink
fix : useAppRouter > useRouter로 수정
Browse files Browse the repository at this point in the history
스택이 바뀌면서 데이터가 저장 안되는 이슈
  • Loading branch information
guesung committed Dec 2, 2023
1 parent 6695867 commit ea5074a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useFunnel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function useFunnel<Steps extends NonEmptyArray<string>>(
}
) {
const searchParams = useSearchParams();
const { push, back, replace } = useAppRouter();
const { push, back, replace } = useRouter();
const pathname = usePathname();
const initialStep = options?.initialStep ?? steps[0];
const queryKey = options?.stepQueryKey ?? 'step';
Expand Down

0 comments on commit ea5074a

Please sign in to comment.