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": "prettier src --write --loglevel warn",
|
||||||
"fmt:check": "prettier src --check",
|
"fmt:check": "prettier src --check",
|
||||||
"e2e": "yarn run cypress open --config baseUrl='http://localhost:3000' --env AUTH_USER=admin,AUTH_PASSWORD=unleash4all",
|
"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": {
|
"devDependencies": {
|
||||||
"@emotion/react": "11.9.3",
|
"@emotion/react": "11.9.3",
|
||||||
|
@ -6,13 +6,7 @@ import React, {
|
|||||||
useState,
|
useState,
|
||||||
VFC,
|
VFC,
|
||||||
} from 'react';
|
} from 'react';
|
||||||
import {
|
import { Button, Divider, FormControlLabel, Switch } from '@mui/material';
|
||||||
Button,
|
|
||||||
Divider,
|
|
||||||
FormControlLabel,
|
|
||||||
Switch,
|
|
||||||
TextField,
|
|
||||||
} from '@mui/material';
|
|
||||||
import produce from 'immer';
|
import produce from 'immer';
|
||||||
import { trim } from 'component/common/util';
|
import { trim } from 'component/common/util';
|
||||||
import { IAddon, IAddonProvider } from 'interfaces/addons';
|
import { IAddon, IAddonProvider } from 'interfaces/addons';
|
||||||
|
@ -7,14 +7,7 @@ import {
|
|||||||
AutocompleteRenderOptionState,
|
AutocompleteRenderOptionState,
|
||||||
} from '@mui/material/Autocomplete';
|
} from '@mui/material/Autocomplete';
|
||||||
import { styled } from '@mui/system';
|
import { styled } from '@mui/system';
|
||||||
import {
|
import { capitalize, Checkbox, Paper, TextField } from '@mui/material';
|
||||||
Autocomplete,
|
|
||||||
Box,
|
|
||||||
capitalize,
|
|
||||||
Checkbox,
|
|
||||||
Paper,
|
|
||||||
TextField,
|
|
||||||
} from '@mui/material';
|
|
||||||
import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank';
|
import CheckBoxOutlineBlankIcon from '@mui/icons-material/CheckBoxOutlineBlank';
|
||||||
import CheckBoxIcon from '@mui/icons-material/CheckBox';
|
import CheckBoxIcon from '@mui/icons-material/CheckBox';
|
||||||
import { ConditionallyRender } from '../../../common/ConditionallyRender/ConditionallyRender';
|
import { ConditionallyRender } from '../../../common/ConditionallyRender/ConditionallyRender';
|
||||||
|
@ -42,7 +42,6 @@ export const ConstraintAccordion = ({
|
|||||||
constraint={constraint}
|
constraint={constraint}
|
||||||
onEdit={onEdit}
|
onEdit={onEdit}
|
||||||
onDelete={onDelete}
|
onDelete={onDelete}
|
||||||
compact={compact}
|
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
@ -16,11 +16,9 @@ interface IConstraintAccordionViewProps {
|
|||||||
constraint: IConstraint;
|
constraint: IConstraint;
|
||||||
onDelete?: () => void;
|
onDelete?: () => void;
|
||||||
onEdit?: () => void;
|
onEdit?: () => void;
|
||||||
compact: boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const ConstraintAccordionView = ({
|
export const ConstraintAccordionView = ({
|
||||||
compact,
|
|
||||||
constraint,
|
constraint,
|
||||||
onEdit,
|
onEdit,
|
||||||
onDelete,
|
onDelete,
|
||||||
@ -53,7 +51,6 @@ export const ConstraintAccordionView = ({
|
|||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
>
|
>
|
||||||
<ConstraintAccordionViewHeader
|
<ConstraintAccordionViewHeader
|
||||||
compact={compact}
|
|
||||||
constraint={constraint}
|
constraint={constraint}
|
||||||
onEdit={onEdit}
|
onEdit={onEdit}
|
||||||
onDelete={onDelete}
|
onDelete={onDelete}
|
||||||
|
Loading…
Reference in New Issue
Block a user