Skip to content

Commit

Permalink
fix(bottle): remove deprecated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Sep 17, 2024
1 parent e6346d5 commit d1fd7c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 40 deletions.
40 changes: 0 additions & 40 deletions apps/bottle/src/app/create-profile/_steps/MBTI/MBTI.spec.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export interface FunnelValuesContext<I extends object> {
getValue<K extends keyof I>(key: K): I[K] | undefined;
}

/**
* @deprecated
*/
export function createFunnelValuesContext<I extends object>() {
const Context = createContext<FunnelValuesContext<I> | null>(null);

Expand Down
3 changes: 3 additions & 0 deletions apps/bottle/src/features/steps/StepProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ interface StepProviderProps {

const STEP_PARAM_KEY = 'step';

/**
* @deprecated
*/
export function StepProvider({ children, maxStep, uri, onExit, onComplete }: StepProviderProps) {
const searchParams = useSearchParams();
const step = useMemo(() => Number(searchParams.get(STEP_PARAM_KEY) ?? '1'), [searchParams]);
Expand Down

0 comments on commit d1fd7c7

Please sign in to comment.