feat: change column visibility on add (#1174)
* feat: change column visibility on add * refactor: extract views business logic from table
This commit is contained in:
@ -2,11 +2,6 @@ import { useContext } from 'react';
|
||||
|
||||
import { RowIdContext } from '../states/RowIdContext';
|
||||
|
||||
export type TableDimensions = {
|
||||
numberOfColumns: number;
|
||||
numberOfRows: number;
|
||||
};
|
||||
|
||||
export function useCurrentRowEntityId() {
|
||||
const currentEntityId = useContext(RowIdContext);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user