Closed godsakani closed 2 years ago
The best would be when you click on the button it sends you back to the indicated location...
But for your case, it's like it always sends you to the same point...
simplescreenrecorder-2022-07-17_15.22.11.mp4
Yes @Asam237 I push the code because I was stock I wanted to show the level I reached. The difficulty is sending to that particular location ?
@godsakani Try to use the props in the StreepMap component, this is where you will send parameters to your button.
Link to use props => https://fr.reactjs.org/docs/components-and-props.html
@godsakani Try to use the props in the StreepMap component, this is where you will send parameters to your button.
Link to use props => https://fr.reactjs.org/docs/components-and-props.html
Hello @Asam237 am just from going through the doc and I have gotton the concept. Another worry is where am using it in the Streetmap.tsx?
I close this PR to reopen due to some changes not applying
Fixed
issue #97
Changes
Difficulties faced