Skip to content

Commit

Permalink
Add missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
mmtr committed Oct 24, 2024
1 parent 0bbb186 commit 246f944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/landing/stepper/utils/flow-redirect-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const REMOVED_TAILORED_FLOWS = [
{ flow: SENSEI_FLOW, to: ':lang?/plugins/sensei-pro/' },
];

export const isRemovedFlow = ( flowToCheck ) =>
export const isRemovedFlow = ( flowToCheck: string ) =>
!! REMOVED_TAILORED_FLOWS.find( ( { flow } ) => flow === flowToCheck );

// Regex pattern for the optional language code in the format xx or xx-yy
Expand Down

0 comments on commit 246f944

Please sign in to comment.