react-code-dataset / wp-calypso /client /landing /stepper /utils /step-with-required-login.ts
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
Raw History Blame Contribute Delete
226 Bytes
import type { StepperStep } from 'calypso/landing/stepper/declarative-flow/internals/types';
export const stepWithRequiredLogin = ( step: StepperStep ): StepperStep => ( {
...step,
requiresLoggedInUser: true as const,
} );