Browse Source

website/pages/_app: playground works again

pull/3/head
remorses 1 year ago
parent
commit
ee2169700d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      website/pages/_app.tsx

+ 2
- 2
website/pages/_app.tsx View File

@ -5,7 +5,7 @@ import { useMyColorMode } from 'landing-blocks/src/hooks'
import { Link, Stack, Box, useColorMode } from '@chakra-ui/core'
import { Footer } from 'landing-blocks/src/Footer'
import { LogoIcon, LogoIconBlack, LogoBlack, LogoWhite } from '../svgs'
import * as LandingStuff from 'landing-blocks/src/Banner'
import * as LandingStuff from 'landing-blocks/src'
import * as chakra from '@chakra-ui/core'
import * as LandingDecorationsStuff from 'landing-blocks/src/decorations'
@ -20,7 +20,7 @@ export default function App(props) {
]}
playgroundScope={{
...chakra,
...LandingStuff,
...LandingStuff, // TODO this should be a promise so the scope can be loaded later and playground can wait for this promise
...LandingDecorationsStuff,
}}
headerLogo={<HeadingLogoIcon width='36px' opacity={0.8} />}

Loading…
Cancel
Save