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 {
strategies: PlaygroundStrategySchema[];
input?: PlaygroundRequestSchema;
compact?: boolean;
}
export const PlaygroundResultStrategyLists = ({
strategies,
input,
compact = false,
}: PlaygroundResultStrategyListProps) => (
<ConditionallyRender
condition={strategies.length > 0}
@ -87,7 +85,6 @@ export const WrappedPlaygroundResultStrategyList = ({
<PlaygroundResultStrategyLists
strategies={strategies}
input={input}
compact
/>
</StyledListWrapper>
</StyledAlertWrapper>