Added "use client" to hooks.

This commit is contained in:
Mike Cao committed 2024-02-02 22:20:13 -08:00
1 parent 400657d59e
commit 238e6efee2
33 files changed
+40 -10

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
'use client';
import { useEffect, useCallback, KeyboardEvent } from 'react';
export function useEscapeKey(handler: (event: KeyboardEvent) => void) {