[ Refetch update ] 🎭
This commit is contained in:
@@ -65,7 +65,7 @@ const DataTable = ({
|
||||
{/* <Box mb={2}>{caption}</Box> */}
|
||||
<Table size="sm" {...provided.droppableProps} ref={provided.innerRef}>
|
||||
<TableCaption p={0}>{caption}</TableCaption>
|
||||
<Thead backgroundColor="gray.50">
|
||||
<Thead backgroundColor="forestGreen.100">
|
||||
<Tr>
|
||||
{tableHeadRow.map((heading, index) => (
|
||||
<Th
|
||||
@@ -97,7 +97,7 @@ const DataTable = ({
|
||||
bg: "blue.50",
|
||||
cursor: "grab",
|
||||
}}
|
||||
bg={snapshot.isDragging ? "blue.100" : index % 2 ? "white" : "gray.50"}
|
||||
bg={snapshot.isDragging ? "blue.100" : index % 2 ? "white" : "forestGreen.50"}
|
||||
boxShadow={snapshot.isDragging ? "0 0 1em rgba(0, 0, 0, 0.2)" : "none"}
|
||||
|
||||
>
|
||||
@@ -121,7 +121,7 @@ const DataTable = ({
|
||||
)}
|
||||
</Draggable>
|
||||
) : (
|
||||
<Tr bg={index % 2 ? "gray.50" : "white"} key={index}>
|
||||
<Tr bg={index % 2 ? "forestGreen.50" : "white"} key={index}>
|
||||
{tableHeadRow.map((heading, i) => (
|
||||
<Td
|
||||
textAlign={tableHeadRow.length - 1 === i || centered ? "center" : "left"}
|
||||
|
||||
Reference in New Issue
Block a user