mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 05:37:20 +01:00
Added "use client" to hooks.
This commit is contained in:
parent
400657d59e
commit
238e6efee2
33 changed files with 40 additions and 10 deletions
|
|
@ -1,3 +1,4 @@
|
|||
'use client';
|
||||
import { useEffect } from 'react';
|
||||
|
||||
export function useDocumentClick(handler: (event: MouseEvent) => any) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue