Allow embedding of share page.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import Shell from './Shell';
|
||||
import App from './App';
|
||||
import NavBar from './NavBar';
|
||||
import Page from 'components/layout/Page';
|
||||
import styles from './layout.module.css';
|
||||
|
||||
export default function AppLayout({ children }) {
|
||||
export default function ({ children }) {
|
||||
return (
|
||||
<Shell>
|
||||
<App>
|
||||
<main className={styles.layout}>
|
||||
<nav className={styles.nav}>
|
||||
<NavBar />
|
||||
@@ -14,6 +14,6 @@ export default function AppLayout({ children }) {
|
||||
<Page>{children}</Page>
|
||||
</section>
|
||||
</main>
|
||||
</Shell>
|
||||
</App>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user