Skip to content

Commit

Permalink
Removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
melnikga committed Mar 19, 2024
1 parent 861ca53 commit 25961ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion components/Editor/InstructionsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export const InstructionsTable = ({
focusRowRef.current &&
focusRowRef.current.offsetTop
) {
// tableRef.current.scrollTop = focusRowRef.current.offsetTop - 58
tableRef.current.scrollTo({
top: focusRowRef.current.offsetTop - 58,
behavior: 'smooth',
Expand Down
1 change: 0 additions & 1 deletion components/Tracer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export const Tracer = ({ mainHeight }: TracerProps) => {
'#focus_row',
) as HTMLElement | null
if (tableRef.current && element?.offsetTop) {
// tableRef.current.scrollTop = element.offsetTop - 58
tableRef.current.scrollTo({
top: element.offsetTop - 58,
behavior: 'smooth',
Expand Down

0 comments on commit 25961ca

Please sign in to comment.