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

Commit

Permalink
Drop NA icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
pelusanchez committed Nov 23, 2023
1 parent 81bf80e commit 8052df8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/components/blocks/CheckItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"

/**
Expand Down Expand Up @@ -73,7 +73,7 @@ const useSwitchStatus = (status?: string) => {
return <WarningIcon />

case 'NA':
return <NAIcon />
return null // No icon for NA
default:
return <WarningIcon />
}
Expand Down
8 changes: 0 additions & 8 deletions src/components/icons/EQCIcons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ export const WarningIcon = () => (
</svg>
)

export const NAIcon = () => (
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 14H19" stroke="#7E7E7E"
strokeWidth="1.5"
/>
</svg>
)

export const DownIcon = () => (
<svg width="12" height="7" viewBox="0 0 12 7" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1 1L6 6L11.5 1" stroke="#25408F" />
Expand Down

0 comments on commit 8052df8

Please sign in to comment.