diff --git a/packages/blocks/blocksAntd/src/blocks/MultipleSelector/MultipleSelector.js b/packages/blocks/blocksAntd/src/blocks/MultipleSelector/MultipleSelector.js deleted file mode 100644 index 96fcad45a..000000000 --- a/packages/blocks/blocksAntd/src/blocks/MultipleSelector/MultipleSelector.js +++ /dev/null @@ -1,151 +0,0 @@ -/* - Copyright 2020-2021 Lowdefy, Inc - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. -*/ - -import React, { useState } from 'react'; -import { Select } from 'antd'; -import { blockDefaultProps, renderHtml } from '@lowdefy/block-tools'; -import { get, type } from '@lowdefy/helpers'; -import Label from '../Label/Label'; -import Icon from '../Icon/Icon'; -import getValueIndex from '../../getValueIndex'; -import getUniqueValues from '../../getUniqueValues'; - -const Option = Select.Option; - -const MultipleSelector = ({ - blockId, - events, - loading, - methods, - properties, - required, - validation, - value, -}) => { - const [fetchState, setFetch] = useState(false); - const uniqueValueOptions = getUniqueValues(properties.options || []); - return ( -