1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

Lint and fmt

This commit is contained in:
andreas-unleash 2022-07-26 13:39:58 +03:00
parent 3c23fb554e
commit a13e771f0e
5 changed files with 5 additions and 12 deletions

View File

@ -1,14 +1,9 @@
import { Popover, Badge, styled, Tooltip } from '@mui/material';
import { IGroup, IGroupUser, Role } from 'interfaces/group';
import { Link } from 'react-router-dom';
import { Badge, Popover, styled } from '@mui/material';
import { IGroupUser, Role } from 'interfaces/group';
import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender';
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 { IUser } from '../../../../../../../interfaces/user';
const StyledPopover = styled(Popover)(({ theme }) => ({
pointerEvents: 'none',

View File

@ -32,7 +32,6 @@ import { useRequiredPathParam } from 'hooks/useRequiredPathParam';
import { IUser } from 'interfaces/user';
import { IGroup } from 'interfaces/group';
import { LinkCell } from 'component/common/Table/cells/LinkCell/LinkCell';
import { mapGroupUsers } from '../../../../hooks/api/getters/useGroup/useGroup';
const StyledAvatar = styled(Avatar)(({ theme }) => ({
width: theme.spacing(4),

View File

@ -1,11 +1,10 @@
import useSWR, { mutate, SWRConfiguration } from 'swr';
import { useState, useEffect, useMemo } from 'react';
import { useState, useEffect } from 'react';
import { formatApiPath } from 'utils/formatPath';
import handleErrorResponses from '../httpErrorResponseHandler';
import { IProjectRole } from 'interfaces/role';
import { IGroup } from 'interfaces/group';
import { IUser } from 'interfaces/user';
import { useGroups } from '../useGroups/useGroups';
import { mapGroupUsers } from '../useGroup/useGroup';
export enum ENTITY_TYPE {

View File

@ -96,7 +96,7 @@ export default createTheme({
main: colors.grey[400],
dark: colors.grey[600],
background: 'white',
contrast: colors.grey[300]
contrast: colors.grey[300],
},
divider: colors.grey[300],
dividerAlternative: colors.grey[400],

View File

@ -89,7 +89,7 @@ declare module '@mui/material/styles' {
light: string;
dark: string;
background: string;
contrast: string
contrast: string;
};
}