Skip to content

Commit

Permalink
Merge branch 'main' into chore/setup-wizard-required-fields
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoevanp authored Sep 27, 2023
2 parents 4c76340 + 7a32bbf commit 8265414
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ export const SelfHostedRegistration: Story = ({ offline }) => {
agreement: serverRegistration?.agreement,
}),
}}
onBackButtonClick={() => navigateTo('/org-info')}
onSubmit={handleRegisterServerSubmit}
offline={offline}
onClickRegisterLater={() => navigateTo('/standalone-confirmation')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ it('renders without crashing', () => {
currentStep={1}
stepCount={1}
validateEmail={() => true}
onBackButtonClick={() => undefined}
onClickRegisterLater={() => undefined}
onSubmit={() => undefined}
/>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ type RegisterServerFormProps = {
initialValues?: Partial<RegisterServerPayload>;
validateEmail?: Validate<string>;
onSubmit: SubmitHandler<RegisterServerPayload>;
onBackButtonClick: () => void;
onClickRegisterLater: () => void;
termsHref?: string;
policyHref?: string;
Expand All @@ -41,7 +40,6 @@ const RegisterServerForm = ({
validateEmail,
offline,
onSubmit,
onBackButtonClick,
onClickRegisterLater,
termsHref = 'https://rocket.chat/terms',
policyHref = 'https://rocket.chat/privacy',
Expand Down Expand Up @@ -164,9 +162,6 @@ const RegisterServerForm = ({
<Form.Footer>
<Box display='flex' flexDirection='column'>
<ButtonGroup vertical={isMobile} flexGrow={1}>
<Button onClick={onBackButtonClick}>
{t('component.form.action.back')}
</Button>
<Button type='submit' primary disabled={isSubmitting || !isValid}>
{offline
? t('component.form.action.registerNow')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ it('renders without crashing', () => {
currentStep={1}
stepCount={1}
onSubmit={() => undefined}
onBackButtonClick={() => undefined}
onClickRegisterLater={() => undefined}
/>,
div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ type RegisterServerPageProps = {
stepCount: number;
initialValues?: Partial<RegisterServerPayload>;
onSubmit: SubmitHandler<RegisterServerPayload>;
onBackButtonClick: () => void;
onClickRegisterLater: () => void;
offline?: boolean;
validateEmail?: Validate<string>;
Expand Down

0 comments on commit 8265414

Please sign in to comment.