mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
bug fix
This commit is contained in:
parent
eb7d7e59d5
commit
66287948dd
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user