Skip to content

Commit

Permalink
Update app/hooks/useFunnel.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: yougyung <[email protected]>
  • Loading branch information
seonghunYang and yougyung authored Mar 19, 2024
1 parent 74f5861 commit 73f94bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/hooks/useFunnel.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { useState } from 'react';

export default function useFunnel<Steps>(defaultStae: Steps) {
export default function useFunnel<Steps>(defaultState: Steps) {
const [step, setStep] = useState<Steps>(defaultStae);

const Step = ({ name, children }: React.PropsWithChildren<{ name: Steps }>) => {
Expand Down

0 comments on commit 73f94bc

Please sign in to comment.