10 lines
218 B
TypeScript
10 lines
218 B
TypeScript
import { useContext } from 'react';
|
|
|
|
import { RowIdContext } from '../contexts/RowIdContext';
|
|
|
|
export function useCurrentRowEntityId() {
|
|
const currentEntityId = useContext(RowIdContext);
|
|
|
|
return currentEntityId;
|
|
}
|