citr-v6-project
citr-v6-project copied to clipboard
Function Component of Details.js
I created custom hook for getting details its name is useDetails. Since it is a functional component it uses useParams. Details component is using useDetails . They are both pasted in one file.