From 8052df8c02d8e26704ed72d484bbfe2c38e0f97b Mon Sep 17 00:00:00 2001 From: pelusanchez Date: Thu, 23 Nov 2023 11:56:54 +0100 Subject: [PATCH] Drop NA icon. --- src/components/blocks/CheckItem.tsx | 4 ++-- src/components/icons/EQCIcons.tsx | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/components/blocks/CheckItem.tsx b/src/components/blocks/CheckItem.tsx index d9fa713..1dc615d 100644 --- a/src/components/blocks/CheckItem.tsx +++ b/src/components/blocks/CheckItem.tsx @@ -3,7 +3,7 @@ import React, { useState } from "react" import styled from "styled-components" import { GenerateBlocks, supportedTypes } from "../GenerateBlocks" import { LinkBlock } from "./LinkBlock" -import { CheckIcon, DownIcon, NAIcon, WarningIcon } from "../icons/EQCIcons" +import { CheckIcon, DownIcon, WarningIcon } from "../icons/EQCIcons" import { CheckItemBlockInterface } from "../../models" /** @@ -73,7 +73,7 @@ const useSwitchStatus = (status?: string) => { return case 'NA': - return + return null // No icon for NA default: return } diff --git a/src/components/icons/EQCIcons.tsx b/src/components/icons/EQCIcons.tsx index 5ed7f84..cde6768 100644 --- a/src/components/icons/EQCIcons.tsx +++ b/src/components/icons/EQCIcons.tsx @@ -13,14 +13,6 @@ export const WarningIcon = () => ( ) -export const NAIcon = () => ( - - - -) - export const DownIcon = () => (