forked from mirrors/thatmattlove-hyperglass
fix mobile layout issue [skip ci]
This commit is contained in:
parent
d04a24ef6e
commit
432c4aad37
1 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ type TAppInitial = Pick<TApp, 'appProps'>;
|
|||
const App = (props: TApp) => {
|
||||
const { Component, pageProps, appProps } = props;
|
||||
const { config } = appProps;
|
||||
|
||||
// const { asPath } = useRouter();
|
||||
// if (asPath === "/structured") {
|
||||
// return <Error msg="/structured" statusCode={404} />;
|
||||
|
|
@ -31,6 +32,7 @@ const App = (props: TApp) => {
|
|||
<meta name="og:image" content="/images/opengraph.jpg" />
|
||||
<meta property="og:image:width" content="1200" />
|
||||
<meta property="og:image:height" content="630" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
</Head>
|
||||
<HyperglassProvider config={config}>
|
||||
<Component {...pageProps} />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue