diff --git a/front/src/modules/ui/object/record-table/states/tableCellInitialValueFamilyState.ts b/front/src/modules/ui/object/record-table/states/tableCellInitialValueFamilyState.ts deleted file mode 100644 index cd3375481..000000000 --- a/front/src/modules/ui/object/record-table/states/tableCellInitialValueFamilyState.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { atomFamily } from 'recoil'; - -import { TableCellInitialValue } from '../types/TableCellInitialValue'; -import { TableCellPosition } from '../types/TableCellPosition'; - -export const tableCellInitialValueFamilyState = atomFamily< - TableCellInitialValue | undefined, - TableCellPosition ->({ - key: 'tableCellInitialValueFamilyState', - default: undefined, -}); diff --git a/front/src/modules/ui/object/record-table/table-cell/hooks/useCurrentTableCellInitialValue.ts b/front/src/modules/ui/object/record-table/table-cell/hooks/useCurrentTableCellInitialValue.ts deleted file mode 100644 index 3b48c0fe1..000000000 --- a/front/src/modules/ui/object/record-table/table-cell/hooks/useCurrentTableCellInitialValue.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { useRecoilState } from 'recoil'; - -import { tableCellInitialValueFamilyState } from '../../states/tableCellInitialValueFamilyState'; - -import { useCurrentTableCellPosition } from './useCurrentCellPosition'; - -export const useCurrentTableCellInitialValue = () => { - const currentTableCellPosition = useCurrentTableCellPosition(); - - const [currentTableCellInitialValue, setCurrentTableCellInitialValue] = - useRecoilState(tableCellInitialValueFamilyState(currentTableCellPosition)); - - return { - currentTableCellInitialValue, - setCurrentTableCellInitialValue, - }; -};