mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-27 09:26:23 +02:00
upgrade to next.js 15
This commit is contained in:
parent
8096eaf63b
commit
3b72de5df4
61 changed files with 5344 additions and 11135 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { useEffect, RefObject } from 'react';
|
||||
|
||||
export function useClickAway(
|
||||
ref: RefObject<HTMLElement>,
|
||||
ref: RefObject<HTMLElement | null>,
|
||||
handler: (event: MouseEvent | TouchEvent) => void
|
||||
) {
|
||||
useEffect(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue