From f771d63162d9248131f120f3bd01bc9ad4568b94 Mon Sep 17 00:00:00 2001 From: squaresmile Date: Tue, 7 May 2024 19:36:52 -0400 Subject: [PATCH] Fixed export --- packages/db/src/Hooks/useScroll.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/db/src/Hooks/useScroll.ts b/packages/db/src/Hooks/useScroll.ts index 7a98751e..f3d2feef 100644 --- a/packages/db/src/Hooks/useScroll.ts +++ b/packages/db/src/Hooks/useScroll.ts @@ -1,6 +1,6 @@ import { useEffect, useState } from "react"; -const getCurrentPosition = () => { +export const getCurrentPosition = () => { const scrollLimit = Math.max( document.body.scrollHeight,