Skip to content

Commit

Permalink
feat(FOROME-1227): merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
QSdmitrioul committed Jun 27, 2022
1 parent 2c33927 commit 3e3ee5b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import cn from 'classnames'

import { t } from '@i18n'
import { Button } from '@ui/button'
import { Loader } from '@ui/loader'
import { Popover } from '@ui/popover'
import { IPopoverBaseProps } from '@ui/popover/popover.interface'
import { popoverOffset } from '@pages/ws/ws.constants'
Expand All @@ -14,7 +13,6 @@ import { SolutionControlList } from '../solution-control-list'

interface ISolutionControlPopoverProps extends IPopoverBaseProps {
isCreateDisabled?: boolean
isFetching: boolean
onCreate: () => void
onApply: (solutionName: string) => void
onJoin?: (solutionName: string) => void
Expand All @@ -31,7 +29,6 @@ export const SolutionControlPopover = ({
solutions,
selected,
isCreateDisabled,
isFetching,
controlName,
modifiedSolution,
onCreate,
Expand Down Expand Up @@ -62,8 +59,7 @@ export const SolutionControlPopover = ({
{t('solutionControl.createNewSolution', { controlName })}
</button>
</header>
{isFetching && <Loader size="m" />}
{!isFetching && solutions && (
{solutions && (
<SolutionControlList
className={styles.solutionControlCard__list}
solutions={solutions}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const SolutionControlDtree = observer((): ReactElement => {
return (
<SolutionControl
selected={activeDtree}
isFetching={isFetchingDtrees}
solutions={availableDtrees}
isCreateDisabled={dtreeStore.dtreeCode.length < MIN_CODE_LENGTH}
isFetchingSolutions={isFetchingDtrees}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export const SolutionControlRefiner = observer((): ReactElement => {

return (
<SolutionControl
isFetching={isFetchingPresets}
selected={activePreset}
solutions={availablePresets}
controlName={t('solutionControl.filterPreset')}
Expand Down

0 comments on commit 3e3ee5b

Please sign in to comment.