Skip to content

Commit

Permalink
Remove background for EA
Browse files Browse the repository at this point in the history
  • Loading branch information
CoenWarmer committed Jul 25, 2023
1 parent a6527b4 commit d4d2ad3
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
EuiFlexItem,
EuiHorizontalRule,
EuiIcon,
EuiPanel,
EuiSpacer,
EuiText,
} from '@elastic/eui';
Expand All @@ -24,7 +23,7 @@ interface Props {

export function MessagePanel(props: Props) {
return (
<EuiPanel color="subdued" hasShadow={false}>
<>
{props.body}
{props.error ? (
<>
Expand All @@ -51,6 +50,6 @@ export function MessagePanel(props: Props) {
{props.controls}
</>
) : null}
</EuiPanel>
</>
);
}

0 comments on commit d4d2ad3

Please sign in to comment.