We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 513b4d6 commit 4a1c39aCopy full SHA for 4a1c39a
1 file changed
src/hooks/useRsiInitialStep.ts
@@ -19,7 +19,7 @@ export const useRsiInitialStep = (initialStep?: StepType) => {
19
default:
20
return 0
21
}
22
- }, [])
+ }, [initialStep])
23
24
return { steps, initialStep: initialStepNumber }
25
0 commit comments