1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
This commit is contained in:
andreas-unleash 2022-08-08 14:11:20 +03:00
parent eb7d7e59d5
commit 66287948dd

View File

@ -29,13 +29,11 @@ const StyledAlert = styled(Alert)(() => ({
interface PlaygroundResultStrategyListProps { interface PlaygroundResultStrategyListProps {
strategies: PlaygroundStrategySchema[]; strategies: PlaygroundStrategySchema[];
input?: PlaygroundRequestSchema; input?: PlaygroundRequestSchema;
compact?: boolean;
} }
export const PlaygroundResultStrategyLists = ({ export const PlaygroundResultStrategyLists = ({
strategies, strategies,
input, input,
compact = false,
}: PlaygroundResultStrategyListProps) => ( }: PlaygroundResultStrategyListProps) => (
<ConditionallyRender <ConditionallyRender
condition={strategies.length > 0} condition={strategies.length > 0}
@ -87,7 +85,6 @@ export const WrappedPlaygroundResultStrategyList = ({
<PlaygroundResultStrategyLists <PlaygroundResultStrategyLists
strategies={strategies} strategies={strategies}
input={input} input={input}
compact
/> />
</StyledListWrapper> </StyledListWrapper>
</StyledAlertWrapper> </StyledAlertWrapper>