mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
Hide menu while going through player setup
This commit is contained in:
committed by
Alec LaLonde
parent
67f4c1993f
commit
f12ee0c7cb
@@ -56,8 +56,8 @@ const App: React.FC<WithUrqlProps> = ({
|
||||
</Head>
|
||||
<Web3ContextProvider resetUrqlClient={resetUrqlClient}>
|
||||
<>
|
||||
<MegaMenu />
|
||||
<PlayerStatsBar />
|
||||
{!pageProps.hideTopMenu && <MegaMenu />}
|
||||
{!pageProps.hideTopMenu && <PlayerStatsBar />}
|
||||
<Component {...pageProps} />
|
||||
</>
|
||||
</Web3ContextProvider>
|
||||
|
||||
@@ -7,7 +7,7 @@ import React, { useState } from 'react';
|
||||
|
||||
export const getStaticProps = async () => ({
|
||||
props: {
|
||||
hideAppDrawer: true,
|
||||
hideTopMenu: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import React from 'react';
|
||||
|
||||
export const getStaticProps = async () => ({
|
||||
props: {
|
||||
hideAppDrawer: true,
|
||||
hideTopMenu: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import React, { useState } from 'react';
|
||||
|
||||
export const getStaticProps = async () => ({
|
||||
props: {
|
||||
hideAppDrawer: true,
|
||||
hideTopMenu: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ export const getStaticProps = async () => {
|
||||
props: {
|
||||
personalityParts,
|
||||
personalityTypes,
|
||||
hideAppDrawer: true,
|
||||
hideTopMenu: true,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ export const getStaticProps = async () => {
|
||||
return {
|
||||
props: {
|
||||
playerTypeChoices,
|
||||
hideAppDrawer: true,
|
||||
hideTopMenu: true,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
@@ -14,7 +14,7 @@ export const getStaticProps = async () => {
|
||||
return {
|
||||
props: {
|
||||
skillChoices,
|
||||
hideAppDrawer: true,
|
||||
hideTopMenu: true,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@ import React, { useState } from 'react';
|
||||
|
||||
export const getStaticProps = async () => ({
|
||||
props: {
|
||||
hideAppDrawer: true,
|
||||
hideTopMenu: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import React, { useState } from 'react';
|
||||
|
||||
export const getStaticProps = async () => ({
|
||||
props: {
|
||||
hideAppDrawer: true,
|
||||
hideTopMenu: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import React from 'react';
|
||||
|
||||
export const getStaticProps = async () => ({
|
||||
props: {
|
||||
hideAppDrawer: true,
|
||||
hideTopMenu: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user