Closed androidsixteen closed 1 year ago
Describe the bug Clicking on the gear icon in the header multiple times creates multiple network config screens.
Expected behavior would be for a second click to hide the already displayed network config screen. This is a minor bug.
To Reproduce
Expected behavior Dismissing the network config screen once should toggle it off.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Potential solution - instead of navigating here (https://github.com/paradigmxyz/rivet/blob/main/src/components/Header.tsx#L273), could check first whether it is displayed and go back in history if gear is clicked again.
Fixed!
Describe the bug Clicking on the gear icon in the header multiple times creates multiple network config screens.
Expected behavior would be for a second click to hide the already displayed network config screen. This is a minor bug.
To Reproduce
Expected behavior Dismissing the network config screen once should toggle it off.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Potential solution - instead of navigating here (https://github.com/paradigmxyz/rivet/blob/main/src/components/Header.tsx#L273), could check first whether it is displayed and go back in history if gear is clicked again.