mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-11 00:18:46 +01:00
chore: purge pageComponents
This commit is contained in:
parent
7bf049a1f0
commit
4230bf8e41
@ -9,7 +9,6 @@ import StyledWrapper from './StyledWrapper';
|
|||||||
import 'codemirror/theme/material.css';
|
import 'codemirror/theme/material.css';
|
||||||
import 'codemirror/theme/monokai.css';
|
import 'codemirror/theme/monokai.css';
|
||||||
import 'codemirror/addon/scroll/simplescrollbars.css';
|
import 'codemirror/addon/scroll/simplescrollbars.css';
|
||||||
import Documentation from 'components/Documentation';
|
|
||||||
|
|
||||||
const SERVER_RENDERED = typeof navigator === 'undefined' || global['PREVENT_CODEMIRROR_RENDER'] === true;
|
const SERVER_RENDERED = typeof navigator === 'undefined' || global['PREVENT_CODEMIRROR_RENDER'] === true;
|
||||||
if (!SERVER_RENDERED) {
|
if (!SERVER_RENDERED) {
|
@ -1,5 +1,5 @@
|
|||||||
import Head from 'next/head';
|
import Head from 'next/head';
|
||||||
import IndexPage from 'pageComponents/Index';
|
import Bruno from './Bruno';
|
||||||
import GlobalStyle from '../globalStyles';
|
import GlobalStyle from '../globalStyles';
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
@ -13,7 +13,7 @@ export default function Home() {
|
|||||||
<GlobalStyle />
|
<GlobalStyle />
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<IndexPage />
|
<Bruno />
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user