diff --git a/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardHeader.tsx b/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardHeader.tsx index 59e1acf479..7c591b3bf1 100644 --- a/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardHeader.tsx +++ b/packages/twenty-front/src/modules/object-record/record-board/components/RecordBoardHeader.tsx @@ -27,7 +27,7 @@ export const RecordBoardHeader = () => { return ( {columnIds.map((columnId) => ( - + ))} ); diff --git a/packages/twenty-front/src/pages/onboarding/InviteTeam.tsx b/packages/twenty-front/src/pages/onboarding/InviteTeam.tsx index 63cd583ec0..33c4825780 100644 --- a/packages/twenty-front/src/pages/onboarding/InviteTeam.tsx +++ b/packages/twenty-front/src/pages/onboarding/InviteTeam.tsx @@ -25,6 +25,7 @@ import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar'; import { LightButton } from '@/ui/input/button/components/LightButton'; import { MainButton } from '@/ui/input/button/components/MainButton'; import { TextInputV2 } from '@/ui/input/components/TextInputV2'; +import { ActionLink } from '@/ui/navigation/link/components/ActionLink'; import { AnimatedTranslation } from '@/ui/utilities/animation/components/AnimatedTranslation'; import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys'; import { OnboardingStatus } from '~/generated/graphql'; @@ -52,6 +53,10 @@ const StyledButtonContainer = styled.div` width: 200px; `; +const StyledActionSkipLinkContainer = styled.div` + margin: ${({ theme }) => theme.spacing(3)} 0 0; +`; + const validationSchema = z.object({ emails: z.array( z.object({ email: z.union([z.literal(''), z.string().email()]) }), @@ -150,6 +155,10 @@ export const InviteTeam = () => { [enqueueSnackBar, sendInvitation, setNextOnboardingStatus], ); + const handleSkip = async () => { + await onSubmit({ emails: [] }); + }; + useScopedHotkeys( [Key.Enter], () => { @@ -170,7 +179,7 @@ export const InviteTeam = () => { Get the most out of your workspace by inviting your team. - {fields.map((field, index) => ( + {fields.map((_field, index) => ( { fullWidth /> + + Skip + ); };