Skip to content

Commit

Permalink
chore(OutputPathControl): removed incorrect usage of PoolTreeSuggestC…
Browse files Browse the repository at this point in the history
…ontrol in OutputPathControl [#841]
  • Loading branch information
vrozaev committed Oct 30, 2024
1 parent 9901af9 commit 6108cac
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, {FC, useCallback, useEffect} from 'react';
import type {ControlStaticApi} from '../../../../components/Dialog';
import {PoolTreeSuggestControl} from '../PoolTreeSuggestControl/PoolTreeSuggestControl';
import {TextInput} from '@gravity-ui/uikit';
import './OutputPathControl.scss';
import cn from 'bem-cn-lite';
Expand Down Expand Up @@ -108,6 +107,6 @@ export const OutputPathControl: FC<Props> & ControlStaticApi<any> = ({

OutputPathControl.getDefaultValue = () => '';

PoolTreeSuggestControl.isEmpty = (value: Props['value']) => {
OutputPathControl.isEmpty = (value: Props['value']) => {
return !value;
};

0 comments on commit 6108cac

Please # to comment.