Azordev / dasher-user

ONLINE ACCESS SYSTEM FOR CUSTOMER AND CONSUMER MONITORING.
https://dev--azordev-dasher-user.netlify.app/
Apache License 2.0
2 stars 4 forks source link

Fix ts-check error: Type 'string' is not assignable to type '{ componentStack: string[]; }'. at src/layout/ErrorBoundary.js #158

Closed heliomar-pena closed 2 years ago

heliomar-pena commented 2 years ago

Explication

This looks how a problem with types. Please to investigate what is the correct way to declare this types and implement

Screenshots

imagen

https://github.com/Azordev/dasher-user/blob/dccbce3b5b6ea8af657388eec98dfaac7b201ff9/src/layouts/ErrorBoundary.js#L26-L36

Checklist

samuel-vergara-leon commented 2 years ago

check that your tasks have the corresponding labels

e-azocar commented 2 years ago

This issue has solved in #104 because, currently the Error component isn't used

e-azocar commented 2 years ago

This is the current code of ErrorBoundary component, just render the JSX, and not import some component image

heliomar-pena commented 2 years ago

I see that the component Error still is used at the Routes.

Do u think that this component should be deleted?

Since we don't use it

imagen

e-azocar commented 2 years ago

So, can we close this issue?