Skip to content

Commit

Permalink
Fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Oct 20, 2021
1 parent 18a4c89 commit d6ca746
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { flattenPanelTree } from '../../../lib/flatten_panel_tree';
import { AssetManager } from '../../asset_manager';
import { ClosePopoverFn } from '../../popover';
import { SavedElementsModal } from '../../saved_elements_modal';
import { useLabsService } from '../../../services';

interface CategorizedElementLists {
[key: string]: ElementSpec[];
Expand Down Expand Up @@ -125,8 +124,6 @@ export interface Props {
}

export const ElementMenu: FunctionComponent<Props> = ({ elements, addElement }) => {
const labsService = useLabsService();
const isByValueEnabled = labsService.isProjectEnabled('labs:canvas:byValueEmbeddable');
const [isAssetModalVisible, setAssetModalVisible] = useState(false);
const [isSavedElementsModalVisible, setSavedElementsModalVisible] = useState(false);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* 2.0.
*/

export * from 'element_menu.component';
export * from './element_menu.component';
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
* 2.0.
*/

export { ElementMenu } from './element_menu';
export { ElementMenu as ElementMenuComponent } from './element_menu.component';
export { ElementMenu } from './element_menu.component';

0 comments on commit d6ca746

Please sign in to comment.