From 10d68ba6b944e3c562fad7f353a0b459643b270f Mon Sep 17 00:00:00 2001 From: Diogo Soares <32431609+DiogoSoaress@users.noreply.github.com> Date: Mon, 25 Nov 2024 11:41:38 +0100 Subject: [PATCH] chore: replace ts-ignore --- src/components/Wallet/VerticalSlide/Table.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Wallet/VerticalSlide/Table.tsx b/src/components/Wallet/VerticalSlide/Table.tsx index 00fb4f8b..64b58691 100644 --- a/src/components/Wallet/VerticalSlide/Table.tsx +++ b/src/components/Wallet/VerticalSlide/Table.tsx @@ -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' }) } }