Hello. I want to use two situations in React: If the media is smaller than 800px, the pin issue will be disabled, and if it is larger than 800px, the code I wrote will work, but I can't manage it.
https://stackblitz.com/edit/react-tyfakz?file=src/App.js