Added "use client" to hooks.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
'use client';
|
||||
import { useState, useEffect, useRef } from 'react';
|
||||
|
||||
export function useSticky({ enabled = true, threshold = 1 }) {
|
||||
|
||||
Reference in New Issue
Block a user