Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 8052df8

Browse files
committed
Drop NA icon.
1 parent 81bf80e commit 8052df8

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/components/blocks/CheckItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import React, { useState } from "react"
33
import styled from "styled-components"
44
import { GenerateBlocks, supportedTypes } from "../GenerateBlocks"
55
import { LinkBlock } from "./LinkBlock"
6-
import { CheckIcon, DownIcon, NAIcon, WarningIcon } from "../icons/EQCIcons"
6+
import { CheckIcon, DownIcon, WarningIcon } from "../icons/EQCIcons"
77
import { CheckItemBlockInterface } from "../../models"
88

99
/**
@@ -73,7 +73,7 @@ const useSwitchStatus = (status?: string) => {
7373
return <WarningIcon />
7474

7575
case 'NA':
76-
return <NAIcon />
76+
return null // No icon for NA
7777
default:
7878
return <WarningIcon />
7979
}

src/components/icons/EQCIcons.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ export const WarningIcon = () => (
1313
</svg>
1414
)
1515

16-
export const NAIcon = () => (
17-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
18-
<path d="M4 14H19" stroke="#7E7E7E"
19-
strokeWidth="1.5"
20-
/>
21-
</svg>
22-
)
23-
2416
export const DownIcon = () => (
2517
<svg width="12" height="7" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg">
2618
<path d="M1 1L6 6L11.5 1" stroke="#25408F" />

0 commit comments

Comments
 (0)