From f47637f573b13350a5e7c5597de06d07391702f8 Mon Sep 17 00:00:00 2001
From: Mohamed Khelif <mohamed.khelif@mongodb.com>
Date: Wed, 10 Jan 2024 13:45:33 -0500
Subject: [PATCH] Remove unused prop

---
 src/components/Table/BaseTable.tsx | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/components/Table/BaseTable.tsx b/src/components/Table/BaseTable.tsx
index 74a84a1d47..afb823447f 100644
--- a/src/components/Table/BaseTable.tsx
+++ b/src/components/Table/BaseTable.tsx
@@ -48,7 +48,6 @@ declare module "@tanstack/table-core" {
 }
 
 type SpruceTableProps = {
-  className?: string;
   "data-cy-row"?: string;
   "data-cy-table"?: string;
   emptyComponent?: React.ReactNode;
@@ -60,7 +59,6 @@ type SpruceTableProps = {
 export const BaseTable = forwardRef(
   (
     {
-      className,
       "data-cy-row": dataCyRow,
       "data-cy-table": dataCyTable,
       emptyComponent,
@@ -77,13 +75,7 @@ export const BaseTable = forwardRef(
 
     return (
       <>
-        <StyledTable
-          data-cy={dataCyTable}
-          table={table}
-          className={className}
-          ref={ref}
-          {...args}
-        >
+        <StyledTable data-cy={dataCyTable} table={table} ref={ref} {...args}>
           <TableHead>
             {table.getHeaderGroups().map((headerGroup) => (
               <HeaderRow key={headerGroup.id}>