Skip to content

Commit 82017b7

Browse files
committed
fix(table): fix bad react context provider reference in Table.tsx
1 parent ac6b1a3 commit 82017b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/library/src/modules/Table/Table.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const Table = ({
4040
}), [timestampFormat])
4141

4242
return (
43-
<TableContext value={tableContextValue}>
43+
<TableContext.Provider value={tableContextValue}>
4444
<TableContainer
4545
row={row}
4646
className={className}
@@ -107,6 +107,6 @@ export const Table = ({
107107
/>
108108
))}
109109
</TableContainer>
110-
</TableContext>
110+
</TableContext.Provider>
111111
)
112112
}

0 commit comments

Comments
 (0)