I was trying to make a component with a dynamic variable that changes depending on the specific route. I used useParams to extract two variables such as gameName and taskNumber.