Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-unleash committed Aug 8, 2022
1 parent abb4927 commit 334ea57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ export const PlaygroundResultStrategyExecution = ({
/>
<ConditionallyRender
condition={Boolean(
constraints && constraints.length > 0 && !hasParameters
constraints &&
constraints.length > 0 &&
!hasParameters
)}
show={<StrategySeparator text="AND" />}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import React, { Fragment } from 'react';
import { PlaygroundParameterItem } from '../PlaygroundParamteterItem/PlaygroundParameterItem';
import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender';
import { StrategySeparator } from 'component/common/StrategySeparator/StrategySeparator';
import {Chip} from '@mui/material';
import { Chip } from '@mui/material';
import PercentageCircle from 'component/common/PercentageCircle/PercentageCircle';
import { PlaygroundConstraintSchema } from 'hooks/api/actions/usePlayground/playground.model';
import { useStrategies } from 'hooks/api/getters/useStrategies/useStrategies';
Expand Down Expand Up @@ -96,7 +96,9 @@ export const PlaygroundResultStrategyExecutionCustomStrategyParams = ({
</Fragment>
);
case 'string':
const value = parseParameterString(parameters[param.name]) ?? 'no value';
const value =
parseParameterString(parameters[param.name]) ??
'no value';
return (
<Fragment key={param?.name}>
<PlaygroundParameterItem
Expand Down

0 comments on commit 334ea57

Please sign in to comment.