mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-14 00:19:16 +01:00
Fix build
This commit is contained in:
parent
d66359f6a4
commit
d65c3b4915
@ -35,7 +35,8 @@
|
||||
"fmt": "prettier src --write --loglevel warn",
|
||||
"fmt:check": "prettier src --check",
|
||||
"e2e": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all",
|
||||
"e2e:heroku": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=example@example.com"
|
||||
"e2e:heroku": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=example@example.com",
|
||||
"isready": "yarn lint && yarn fmt && yarn prepare"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@emotion/react": "11.9.3",
|
||||
|
@ -6,13 +6,7 @@ import React, {
|
||||
useState,
|
||||
VFC,
|
||||
} from 'react';
|
||||
import {
|
||||
Button,
|
||||
Divider,
|
||||
FormControlLabel,
|
||||
Switch,
|
||||
TextField,
|
||||
} from '@mui/material';
|
||||
import { Button, Divider, FormControlLabel, Switch } from '@mui/material';
|
||||
import produce from 'immer';
|
||||
import { trim } from 'component/common/util';
|
||||
import { IAddon, IAddonProvider } from 'interfaces/addons';
|
||||
|
@ -7,14 +7,7 @@ import {
|
||||
AutocompleteRenderOptionState,
|
||||
} from '@mui/material/Autocomplete';
|
||||
import { styled } from '@mui/system';
|
||||
import {
|
||||
Autocomplete,
|
||||
Box,
|
||||
capitalize,
|
||||
Checkbox,
|
||||
Paper,
|
||||
TextField,
|
||||
} from '@mui/material';
|
||||
import { capitalize, Checkbox, Paper, TextField } from '@mui/material';
|
||||
import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank';
|
||||
import CheckBoxIcon from '@mui/icons-material/CheckBox';
|
||||
import { ConditionallyRender } from '../../../common/ConditionallyRender/ConditionallyRender';
|
||||
|
@ -42,7 +42,6 @@ export const ConstraintAccordion = ({
|
||||
constraint={constraint}
|
||||
onEdit={onEdit}
|
||||
onDelete={onDelete}
|
||||
compact={compact}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
|
@ -16,11 +16,9 @@ interface IConstraintAccordionViewProps {
|
||||
constraint: IConstraint;
|
||||
onDelete?: () => void;
|
||||
onEdit?: () => void;
|
||||
compact: boolean;
|
||||
}
|
||||
|
||||
export const ConstraintAccordionView = ({
|
||||
compact,
|
||||
constraint,
|
||||
onEdit,
|
||||
onDelete,
|
||||
@ -53,7 +51,6 @@ export const ConstraintAccordionView = ({
|
||||
onClick={handleClick}
|
||||
>
|
||||
<ConstraintAccordionViewHeader
|
||||
compact={compact}
|
||||
constraint={constraint}
|
||||
onEdit={onEdit}
|
||||
onDelete={onDelete}
|
||||
|
Loading…
Reference in New Issue
Block a user