You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
I am getting the following error when executing npm start
Failed to compile.
VisualStudioCodeProjects/hospitalrun-frontend/src/imagings/requests/NewImagingRequest.tsx
TypeScript error in VisualStudioCodeProjects/hospitalrun-frontend/src/imagings/requests/NewImagingRequest.tsx(115,16):
Argument of type 'unknown' is not assignable to parameter of type 'SetStateAction<ImagingRequestError | undefined>'.
Type 'unknown' is not assignable to type '(prevState: ImagingRequestError | undefined) => ImagingRequestError | undefined'. TS2345
113 | history.push(`/imaging`)
114 | } catch (e) {
> 115 | setError(e)
| ^
116 | }
117 | }
I am getting the following error when executing npm start
Failed to compile.
Kindly Assist
hospitalrun-frontend/src/imagings/requests/NewImagingRequest.tsx
Line 115 in abde0a9
The text was updated successfully, but these errors were encountered: