Closed itsjayway closed 1 year ago
get I get this issue assigned?
of course, thank you @neeravbhaskarla
i've updated the readme with updated steps for running the db locally, i hope it helps!
Hi @jibranabsarulislam, undefined props error is occurring due to rendering element without passing props in the App.jsx
Hence, for removing undefined props error
there are two approaches which are
Adding default props by removing .isRequired
in most of the components
Sending default props with the component
Can you suggest a better approach from these two to implement changes in the code?
Can you suggest a better approach from these two to implement changes in the code?
I think your first approach is good; removing isRequired and setting default props (probably false
and null
) makes sense, so we don't clutter component instances with refresh={false} (which would also be an es-lint error)
hi @jibranabsarulislam Submitted PR with required changes. Please Check
errors caused by undefined props and no key stated in .map