Skip to content

Commit

Permalink
refactor: fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wadjih-bencheikh18 committed Aug 21, 2023
1 parent 4f0b6f0 commit 99b7c30
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/components/roi/ROIToolbar.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import styled from '@emotion/styled';
import { Roi } from 'image-js';
import startCase from 'lodash/startCase';
import { memo, useCallback, useState } from 'react';
import { FaCog, FaCopy } from 'react-icons/fa';
import { FaCopy } from 'react-icons/fa';
import { Toolbar, PanelHeader } from 'react-science/ui';
import { useCopyToClipboard } from 'react-use';

Expand Down Expand Up @@ -41,15 +40,6 @@ function roisToTSV(rois: Roi[]) {

const copyToClipBoardDefaultText = 'Copy to clipboard';

const Separator = styled.div`
flex: 1;
`;

const ROICount = styled.div`
display: flex;
align-items: center;
`;

function ROIToolbar({ identifier }: ROIToolbarProps) {
const rois = useROIs(identifier);
const viewDispatch = useViewDispatch();
Expand Down

0 comments on commit 99b7c30

Please sign in to comment.