mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Lint and fmt
This commit is contained in:
		
							parent
							
								
									3c23fb554e
								
							
						
					
					
						commit
						a13e771f0e
					
				| @ -1,14 +1,9 @@ | |||||||
| import { Popover, Badge, styled, Tooltip } from '@mui/material'; | import { Badge, Popover, styled } from '@mui/material'; | ||||||
| import { IGroup, IGroupUser, Role } from 'interfaces/group'; | import { IGroupUser, Role } from 'interfaces/group'; | ||||||
| import { Link } from 'react-router-dom'; |  | ||||||
| import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; | import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender'; | ||||||
| 
 | 
 | ||||||
| import { Badge as StyledBadge } from 'component/common/Badge/Badge'; | import { Badge as StyledBadge } from 'component/common/Badge/Badge'; | ||||||
| 
 |  | ||||||
| import { RemoveGroup } from 'component/admin/groups/RemoveGroup/RemoveGroup'; |  | ||||||
| import { useState } from 'react'; |  | ||||||
| import StarIcon from '@mui/icons-material/Star'; | import StarIcon from '@mui/icons-material/Star'; | ||||||
| import { IUser } from '../../../../../../../interfaces/user'; |  | ||||||
| 
 | 
 | ||||||
| const StyledPopover = styled(Popover)(({ theme }) => ({ | const StyledPopover = styled(Popover)(({ theme }) => ({ | ||||||
|     pointerEvents: 'none', |     pointerEvents: 'none', | ||||||
|  | |||||||
| @ -32,7 +32,6 @@ import { useRequiredPathParam } from 'hooks/useRequiredPathParam'; | |||||||
| import { IUser } from 'interfaces/user'; | import { IUser } from 'interfaces/user'; | ||||||
| import { IGroup } from 'interfaces/group'; | import { IGroup } from 'interfaces/group'; | ||||||
| import { LinkCell } from 'component/common/Table/cells/LinkCell/LinkCell'; | import { LinkCell } from 'component/common/Table/cells/LinkCell/LinkCell'; | ||||||
| import { mapGroupUsers } from '../../../../hooks/api/getters/useGroup/useGroup'; |  | ||||||
| 
 | 
 | ||||||
| const StyledAvatar = styled(Avatar)(({ theme }) => ({ | const StyledAvatar = styled(Avatar)(({ theme }) => ({ | ||||||
|     width: theme.spacing(4), |     width: theme.spacing(4), | ||||||
|  | |||||||
| @ -1,11 +1,10 @@ | |||||||
| import useSWR, { mutate, SWRConfiguration } from 'swr'; | import useSWR, { mutate, SWRConfiguration } from 'swr'; | ||||||
| import { useState, useEffect, useMemo } from 'react'; | import { useState, useEffect } from 'react'; | ||||||
| import { formatApiPath } from 'utils/formatPath'; | import { formatApiPath } from 'utils/formatPath'; | ||||||
| import handleErrorResponses from '../httpErrorResponseHandler'; | import handleErrorResponses from '../httpErrorResponseHandler'; | ||||||
| import { IProjectRole } from 'interfaces/role'; | import { IProjectRole } from 'interfaces/role'; | ||||||
| import { IGroup } from 'interfaces/group'; | import { IGroup } from 'interfaces/group'; | ||||||
| import { IUser } from 'interfaces/user'; | import { IUser } from 'interfaces/user'; | ||||||
| import { useGroups } from '../useGroups/useGroups'; |  | ||||||
| import { mapGroupUsers } from '../useGroup/useGroup'; | import { mapGroupUsers } from '../useGroup/useGroup'; | ||||||
| 
 | 
 | ||||||
| export enum ENTITY_TYPE { | export enum ENTITY_TYPE { | ||||||
|  | |||||||
| @ -96,7 +96,7 @@ export default createTheme({ | |||||||
|             main: colors.grey[400], |             main: colors.grey[400], | ||||||
|             dark: colors.grey[600], |             dark: colors.grey[600], | ||||||
|             background: 'white', |             background: 'white', | ||||||
|             contrast: colors.grey[300] |             contrast: colors.grey[300], | ||||||
|         }, |         }, | ||||||
|         divider: colors.grey[300], |         divider: colors.grey[300], | ||||||
|         dividerAlternative: colors.grey[400], |         dividerAlternative: colors.grey[400], | ||||||
|  | |||||||
| @ -89,7 +89,7 @@ declare module '@mui/material/styles' { | |||||||
|             light: string; |             light: string; | ||||||
|             dark: string; |             dark: string; | ||||||
|             background: string; |             background: string; | ||||||
|             contrast: string |             contrast: string; | ||||||
|         }; |         }; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user