React Typescript useContext

Please who's got a better ideal on how to solve this problem with React && Typescript useContext() ?
Screenshot_2022-11-04_232520.png
code.png
Was this page helpful?