Allow linking controls
Signed-off-by: Bryan Frimin <bryan@getprobo.com> Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
committed by
Sacha Al Himdani
parent
93aeedf1e1
commit
ab077c385e
@@ -16,7 +16,6 @@ export function InfiniteScrollTrigger({ children, onView, loading }: Props) {
|
||||
threshold: 0,
|
||||
});
|
||||
const onViewRef = useRefSync(onView);
|
||||
console.log(inView);
|
||||
useEffect(() => {
|
||||
if (inView && !loading) onViewRef.current();
|
||||
}, [inView, loading]);
|
||||
|
||||
@@ -19,8 +19,8 @@ export const input = tv({
|
||||
variant: {
|
||||
bordered:
|
||||
"py-[6px] bg-secondary border border-border-mid rounded-[10px] hover:border-border-strong text-sm px-3 text-txt-primary",
|
||||
ghost: "text-base text-txt-secondary",
|
||||
title: "text-2xl font-semibold text-txt-primary",
|
||||
ghost: "text-base text-txt-secondary outline-none",
|
||||
title: "text-2xl font-semibold text-txt-primary outline-none",
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
|
||||
Reference in New Issue
Block a user