Skip to content

Commit

Permalink
chore: replace ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Nov 25, 2024
1 parent 03c2df2 commit 10d68ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Wallet/VerticalSlide/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ const Table = ({ items = [], sectionRef }: { items: BaseBlock['items']; sectionR

const offset = indexToScrollProgress(index) * sectionHeight

// @ts-ignore
// TODO: Remove next line when updating TypeScript to v5.1 https://github.com/microsoft/TypeScript/issues/47441#issuecomment-1627850951
// @ts-expect-error
window.scrollTo({ top: sectionTop + offset, behavior: 'instant' })
}
}
Expand Down

0 comments on commit 10d68ba

Please sign in to comment.