diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyEffect.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyEffect.tsx index f7fd214a6d38..5a6f12ee5302 100644 --- a/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyEffect.tsx +++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyEffect.tsx @@ -17,7 +17,7 @@ import { useScrollToPosition } from '~/hooks/useScrollToPosition'; export const RecordTableBodyEffect = () => { const { objectNameSingular } = useContext(RecordTableContext); - const [hasInitializedScroll, setHasInitiazedScroll] = useState(false); + const [hasInitializedScroll, setHasInitializedScroll] = useState(false); const { fetchMoreRecords, @@ -63,7 +63,7 @@ export const RecordTableBodyEffect = () => { scrollToPosition(positionInPx); - setHasInitiazedScroll(true); + setHasInitializedScroll(true); } } }, [ diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyRecordGroupEffect.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyRecordGroupEffect.tsx index b41c626f15b0..da1c7d29b1e6 100644 --- a/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyRecordGroupEffect.tsx +++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-body/components/RecordTableBodyRecordGroupEffect.tsx @@ -16,7 +16,7 @@ export const RecordTableBodyRecordGroupEffect = () => { const recordGroupId = useCurrentRecordGroupId(); - const [hasInitializedScroll, setHasInitiazedScroll] = useState(false); + const [hasInitializedScroll, setHasInitializedScroll] = useState(false); const { records, totalCount, setRecordTableData, loading, hasNextPage } = useLoadRecordIndexTable(objectNameSingular); @@ -47,7 +47,7 @@ export const RecordTableBodyRecordGroupEffect = () => { scrollToPosition(positionInPx); - setHasInitiazedScroll(true); + setHasInitializedScroll(true); } } }, [