Open canimnazli opened 2 years ago
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.
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.