1
- import { useTheme } from '@emotion/react' ;
2
- import styled from '@emotion/styled' ;
3
- import { zodResolver } from '@hookform/resolvers/zod' ;
4
1
import { useCallback } from 'react' ;
5
2
import {
6
3
Controller ,
7
4
SubmitHandler ,
8
5
useFieldArray ,
9
6
useForm ,
10
7
} from 'react-hook-form' ;
8
+ import { useTheme } from '@emotion/react' ;
9
+ import styled from '@emotion/styled' ;
10
+ import { zodResolver } from '@hookform/resolvers/zod' ;
11
11
import { useRecoilValue } from 'recoil' ;
12
12
import { Key } from 'ts-key-enum' ;
13
13
import { IconCopy } from 'twenty-ui' ;
@@ -25,7 +25,6 @@ import { useSnackBar } from '@/ui/feedback/snack-bar-manager/hooks/useSnackBar';
25
25
import { LightButton } from '@/ui/input/button/components/LightButton' ;
26
26
import { MainButton } from '@/ui/input/button/components/MainButton' ;
27
27
import { TextInputV2 } from '@/ui/input/components/TextInputV2' ;
28
- import { ActionLink } from '@/ui/navigation/link/components/ActionLink' ;
29
28
import { AnimatedTranslation } from '@/ui/utilities/animation/components/AnimatedTranslation' ;
30
29
import { useScopedHotkeys } from '@/ui/utilities/hotkey/hooks/useScopedHotkeys' ;
31
30
import {
@@ -55,10 +54,6 @@ const StyledButtonContainer = styled.div`
55
54
width: 200px;
56
55
` ;
57
56
58
- const StyledActionSkipLinkContainer = styled . div `
59
- margin: ${ ( { theme } ) => theme . spacing ( 3 ) } 0 0;
60
- ` ;
61
-
62
57
const validationSchema = z . object ( {
63
58
emails : z . array (
64
59
z . object ( { email : z . union ( [ z . literal ( '' ) , z . string ( ) . email ( ) ] ) } ) ,
@@ -223,9 +218,6 @@ export const InviteTeam = () => {
223
218
fullWidth
224
219
/>
225
220
</ StyledButtonContainer >
226
- < StyledActionSkipLinkContainer >
227
- < ActionLink onClick = { setNextOnboardingStatus } > Skip</ ActionLink >
228
- </ StyledActionSkipLinkContainer >
229
221
</ >
230
222
) ;
231
223
} ;
0 commit comments