about summary refs log tree commit diff
path: root/src/lib/hooks/useWebScrollRestoration.ts
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-03-12 22:02:28 +0000
committerSamuel Newman <mozzius@protonmail.com>2024-03-12 22:02:28 +0000
commit1512b5cf68e9e92801a894392569b444fd6af1d1 (patch)
treef756f3a4405127839e6f31ee46945e0b2cfe954f /src/lib/hooks/useWebScrollRestoration.ts
parenta3c09f9f862a4b4abe43cbb6d1042369fb1e14ba (diff)
downloadvoidsky-1512b5cf68e9e92801a894392569b444fd6af1d1.tar.zst
run linter
Diffstat (limited to 'src/lib/hooks/useWebScrollRestoration.ts')
-rw-r--r--src/lib/hooks/useWebScrollRestoration.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hooks/useWebScrollRestoration.ts b/src/lib/hooks/useWebScrollRestoration.ts
index f68fbf0f2..5a4402494 100644
--- a/src/lib/hooks/useWebScrollRestoration.ts
+++ b/src/lib/hooks/useWebScrollRestoration.ts
@@ -1,5 +1,5 @@
-import {useMemo, useState, useEffect} from 'react'
 import {EventArg, useNavigation} from '@react-navigation/core'
+import {useEffect, useMemo, useState} from 'react'
 
 if ('scrollRestoration' in history) {
   // Tell the brower not to mess with the scroll.