about summary refs log tree commit diff
path: root/__tests__/view/lib/useOnMainScroll.test.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-01-26 11:25:52 -0600
committerPaul Frazee <pfrazee@gmail.com>2023-01-26 11:25:52 -0600
commit7e3f6f030680a8cf7b5baa3ce6f33acd5766fca8 (patch)
tree38ad7a0c586caa6cd0635653cb812d602210b718 /__tests__/view/lib/useOnMainScroll.test.tsx
parentc4ba5e7fd507a2f5295fd3fcbcea0796223c744c (diff)
downloadvoidsky-7e3f6f030680a8cf7b5baa3ce6f33acd5766fca8.tar.zst
Fix all type errors
Diffstat (limited to '__tests__/view/lib/useOnMainScroll.test.tsx')
-rw-r--r--__tests__/view/lib/useOnMainScroll.test.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/__tests__/view/lib/useOnMainScroll.test.tsx b/__tests__/view/lib/useOnMainScroll.test.tsx
index 9a31e79e8..6fae03787 100644
--- a/__tests__/view/lib/useOnMainScroll.test.tsx
+++ b/__tests__/view/lib/useOnMainScroll.test.tsx
@@ -5,7 +5,7 @@ import {mockedRootStore, mockedShellStore} from '../../../__mocks__/state-mock'
 
 describe('useOnMainScroll', () => {
   const mockedProps = {
-    navIdx: [0, 0] as [number, number],
+    navIdx: '0-0',
     params: {},
     visible: true,
   }