From 954c8d40a9b067cbf4b6b944fe677cf93b2213e7 Mon Sep 17 00:00:00 2001 From: opeyem1a Date: Tue, 10 Sep 2024 21:56:45 -0600 Subject: [PATCH] lint --- src/app/(app)/course/[courseId]/students/(table)/columns.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(app)/course/[courseId]/students/(table)/columns.tsx b/src/app/(app)/course/[courseId]/students/(table)/columns.tsx index cabaf57..4eb8305 100644 --- a/src/app/(app)/course/[courseId]/students/(table)/columns.tsx +++ b/src/app/(app)/course/[courseId]/students/(table)/columns.tsx @@ -57,7 +57,7 @@ export const columns: ColumnDef[] = [ const empty = !getValue() return ( - {getValue() ?? "None"} + {empty ? "None" : String(getValue()) } ) },