1- import React , { useRef } from 'react' ;
1+ import React from 'react' ;
22import { useHistory } from 'react-router-dom' ;
33import { Content , Header , Page } from '../page' ;
44import {
@@ -8,24 +8,23 @@ import {
88 IconName ,
99 Text ,
1010} from '../../../component-library' ;
11- import { useI18nContext } from '../../../../hooks/useI18nContext' ;
1211import {
12+ IconColor ,
1313 BackgroundColor ,
1414 BlockSize ,
15- Color ,
1615 Display ,
1716 FlexDirection ,
1817 JustifyContent ,
1918 TextAlign ,
2019 TextColor ,
2120 TextVariant ,
2221} from '../../../../helpers/constants/design-system' ;
22+ import { useI18nContext } from '../../../../hooks/useI18nContext' ;
2323import { DEFAULT_ROUTE } from '../../../../helpers/constants/routes' ;
2424
2525export const GatorPermissionsPage = ( ) => {
2626 const t = useI18nContext ( ) ;
2727 const history = useHistory ( ) ;
28- const headerRef = useRef ( ) ;
2928
3029 return (
3130 < Page className = "main-container" data-testid = "permissions-page" >
@@ -36,7 +35,7 @@ export const GatorPermissionsPage = () => {
3635 ariaLabel = { t ( 'back' ) }
3736 iconName = { IconName . ArrowLeft }
3837 className = "connections-header__start-accessory"
39- color = { Color . iconDefault }
38+ color = { IconColor . iconDefault }
4039 onClick = { ( ) => history . push ( DEFAULT_ROUTE ) }
4140 size = { ButtonIconSize . Sm }
4241 />
@@ -51,7 +50,6 @@ export const GatorPermissionsPage = () => {
5150 </ Text >
5251 </ Header >
5352 < Content padding = { 0 } >
54- < Box ref = { headerRef } > </ Box >
5553 < Box
5654 data-testid = "no-connections"
5755 display = { Display . Flex }
0 commit comments