acikyazilimagi / eczane-admin-frontend

https://eczane-admin-frontend.vercel.app
5 stars 10 forks source link

Remove prop drilling of function that can be retrieved from useFetch hook #4

Closed okazkayasi closed 1 year ago

okazkayasi commented 1 year ago

Removed refresh() function and the prop drilling caused by it. We can retrieve the function from useFetch hook in every component.

okazkayasi commented 1 year ago

Conflicts resolved