fixed table-picker.tsx (#836)

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2020-12-11 23:41:07 +01:00 committed by GitHub
parent fee1605636
commit 48d78d9839
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,7 @@ export const TablePicker: React.FC<TablePickerProps> = ({ show, onDismiss, onTab
{createNumberRangeArray(8).map((row: number) => (
createNumberRangeArray(10).map((col: number) => (
<div
key={`${row}_${col}`}
className={`table-cell ${tableSize && row < tableSize.rows && col < tableSize.columns ? 'bg-primary' : ''}`}
onMouseEnter={() => {
setTableSize({