diff --git a/src/components/DataTable/SWRDataTable/index.tsx b/src/components/DataTable/SWRDataTable/index.tsx index 44bc82c..e16fe26 100644 --- a/src/components/DataTable/SWRDataTable/index.tsx +++ b/src/components/DataTable/SWRDataTable/index.tsx @@ -8,6 +8,7 @@ import { } from "@tanstack/react-table"; import { useNavigate } from "react-router-dom"; import useSWR from "swr"; +import { CheckIcon, Cross2Icon } from "@radix-ui/react-icons"; import { Badge, Table, @@ -59,10 +60,10 @@ const renderCell = ({ filters, column, row }) => { case "text": return
{value}
; case "boolean": - return ( - - {value ? "True" : "False"} - + return value ? ( + + ) : ( + ); case "badge": // TODO: needs to be refactored