We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07d42e9 commit f8caa9cCopy full SHA for f8caa9c
src/ui/modal.tsx
@@ -61,7 +61,7 @@ type ModalHeaderProps = {
61
62
export const useModal = () => {
63
const ref = useRef<BottomSheetModal>(null);
64
- const present = useCallback((data?: any) => {
+ const present = useCallback((data?: unknown) => {
65
ref.current?.present(data);
66
}, []);
67
const dismiss = useCallback(() => {
0 commit comments