Skip to content

Commit 268a0b0

Browse files
authored
Revert "Add skip option at sign-up (#6495)" (#6516)
This reverts commit eba6806.
1 parent eba6806 commit 268a0b0

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

packages/twenty-front/src/pages/onboarding/InviteTeam.tsx

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import { useTheme } from '@emotion/react';
2-
import styled from '@emotion/styled';
3-
import { zodResolver } from '@hookform/resolvers/zod';
41
import { useCallback } from 'react';
52
import {
63
Controller,
74
SubmitHandler,
85
useFieldArray,
96
useForm,
107
} from 'react-hook-form';
8+
import { useTheme } from '@emotion/react';
9+
import styled from '@emotion/styled';
10+
import { zodResolver } from '@hookform/resolvers/zod';
1111
import { useRecoilValue } from 'recoil';
1212
import { Key } from 'ts-key-enum';
1313
import { IconCopy } from 'twenty-ui';
@@ -25,7 +25,6 @@ import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
2525
import { LightButton } from '@/ui/input/button/components/LightButton';
2626
import { MainButton } from '@/ui/input/button/components/MainButton';
2727
import { TextInputV2 } from '@/ui/input/components/TextInputV2';
28-
import { ActionLink } from '@/ui/navigation/link/components/ActionLink';
2928
import { AnimatedTranslation } from '@/ui/utilities/animation/components/AnimatedTranslation';
3029
import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys';
3130
import {
@@ -55,10 +54,6 @@ const StyledButtonContainer = styled.div`
5554
width: 200px;
5655
`;
5756

58-
const StyledActionSkipLinkContainer = styled.div`
59-
margin: ${({ theme }) => theme.spacing(3)} 0 0;
60-
`;
61-
6257
const validationSchema = z.object({
6358
emails: z.array(
6459
z.object({ email: z.union([z.literal(''), z.string().email()]) }),
@@ -223,9 +218,6 @@ export const InviteTeam = () => {
223218
fullWidth
224219
/>
225220
</StyledButtonContainer>
226-
<StyledActionSkipLinkContainer>
227-
<ActionLink onClick={setNextOnboardingStatus}>Skip</ActionLink>
228-
</StyledActionSkipLinkContainer>
229221
</>
230222
);
231223
};

0 commit comments

Comments
 (0)