Skip to content

Commit

Permalink
fixing linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ddelpiano committed Jul 5, 2024
1 parent cb75d27 commit 838ce8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/components/common/Heatmap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ const HeatmapGrid: FC<HeatmapGridProps> = ({
height: '2rem',
marginRight: '0.5rem',
borderRadius: '0.25rem',
border: `0.0625rem solid ${gray500}`,
border: `0.0625rem solid ${primaryPurple600}`,
color: primaryPurple600,
},
}}
Expand Down
8 changes: 1 addition & 7 deletions src/components/connections/SummaryHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ import {
Stack,
} from '@mui/material';
import { vars } from '../../theme/variables';
import IconButton from '@mui/material/IconButton';
import { CloseArrows, ArrowRight, ArrowLeft, HelpCircle } from '../icons';
import { ArrowRight } from '../icons';
import Breadcrumbs from '@mui/material/Breadcrumbs';
import { SummaryType, KsRecord } from '../common/Types';
import { useDataContext } from '../../context/DataContext.ts';
Expand Down Expand Up @@ -37,11 +36,6 @@ const SummaryHeader = ({

const { selectedConnectionSummary } = useDataContext();

function getConnectionId() {
return Object.keys(knowledgeStatementsMap)[connectionPage - 1] || '';
}
const connectionId = getConnectionId();

const handleUpClick = () => {
if (connectionPage < totalUniqueKS) {
setConnectionPage(connectionPage + 1);
Expand Down

0 comments on commit 838ce8a

Please sign in to comment.