Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
magrinj committed Nov 13, 2024
1 parent b109b1f commit e725288
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -63,7 +63,7 @@ export const RecordTableBodyEffect = () => {

scrollToPosition(positionInPx);

setHasInitiazedScroll(true);
setHasInitializedScroll(true);
}
}
}, [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -47,7 +47,7 @@ export const RecordTableBodyRecordGroupEffect = () => {

scrollToPosition(positionInPx);

setHasInitiazedScroll(true);
setHasInitializedScroll(true);
}
}
}, [
Expand Down

0 comments on commit e725288

Please sign in to comment.