We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82c2658 commit 2cb7667Copy full SHA for 2cb7667
components/home.js
@@ -2293,13 +2293,15 @@ export default function Home({ }) {
2293
}, 300);
2294
}}>{text("communityMaps")}</button>}
2295
2296
- <button className="g2_nav_text" aria-label="MapGuessr" onClick={() => {
2297
- setNavSlideOut(true);
2298
- setTimeout(() => {
2299
- setNavSlideOut(false); // Reset for next use
2300
- setMapGuessrModal(true);
2301
- }, 300);
2302
- }}>MapGuessr</button>
+ {inCrazyGames && (
+ <button className="g2_nav_text" aria-label="MapGuessr" onClick={() => {
+ setNavSlideOut(true);
+ setTimeout(() => {
+ setNavSlideOut(false); // Reset for next use
+ setMapGuessrModal(true);
+ }, 300);
2303
+ }}>MapGuessr</button>
2304
+ )}
2305
</div>
2306
</>
2307
)}
0 commit comments