Skip to content
Snippets Groups Projects
Unverified Commit 4236b321 authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins
Browse files

prune: remove scrolling code

parent b3ebff7b
No related branches found
No related tags found
No related merge requests found
...@@ -78,17 +78,10 @@ export default function TransactionList({ ...@@ -78,17 +78,10 @@ export default function TransactionList({
onCloseAddTransaction, onCloseAddTransaction,
onCreatePayee onCreatePayee
}) { }) {
// let table = useRef();
let transactionsLatest = useRef(); let transactionsLatest = useRef();
let scrollTo = useRef(); let scrollTo = useRef();
let history = useHistory(); let history = useHistory();
// useEffect(() => {
// if (scrollTo.current) {
// // table.current.scrollTo(scrollTo.current);
// }
// }, [transactions]);
useEffect(clearScrollTo); useEffect(clearScrollTo);
useLayoutEffect(() => { useLayoutEffect(() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment