mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
replace react-intersection-observer package with mantine hooks
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import { useInViewport as useMantineInViewport } from '@mantine/hooks';
|
||||
|
||||
export const useInViewport = useMantineInViewport;
|
||||
@@ -0,0 +1,3 @@
|
||||
import { useIntersection as useMantineIntersection } from '@mantine/hooks';
|
||||
|
||||
export const useIntersection = useMantineIntersection;
|
||||
Reference in New Issue
Block a user