The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Removed dead code (#2345)
Lucas Bordeauaba3fd454b5e
diff --git a/front/src/modules/ui/object/record-table/states/tableCellInitialValueFamilyState.ts b/front/src/modules/ui/object/record-table/states/tableCellInitialValueFamilyState.tsdeleted file mode 100644index cd3375481fc..00000000000--- 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.tsdeleted file mode 100644index 3b48c0fe1ba..00000000000--- 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,- };-};