mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Fixed setError/useError typos & added stronger typing
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import * as Sentry from "@sentry/react";
|
||||
import { Dispatch, SetStateAction } from "react";
|
||||
|
||||
const handleError = (
|
||||
setError: Function,
|
||||
setError: Dispatch<SetStateAction<String>>,
|
||||
errorString: string,
|
||||
errorObj?: any,
|
||||
) => {
|
||||
|
||||
Reference in New Issue
Block a user