Skip to content

Commit 09f919a

Browse files
author
Petr Konecny
committed
chore: ported initial carousel code from laced
1 parent 1c5bb18 commit 09f919a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AutoCarousel/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const AutoCarouselWithoutProvider = ({
5959
[offset, slideWidth],
6060
)
6161

62-
const timeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null)
62+
const timeoutRef = useRef<NodeJS.Timeout | null>(null)
6363

6464
const handleAutoScroll = () => {
6565
const autoScroll = () => {

0 commit comments

Comments
 (0)