Skip to content

Commit

Permalink
docs(playground): reduce component deps of the first html string
Browse files Browse the repository at this point in the history
  • Loading branch information
unix committed May 20, 2020
1 parent c111bb3 commit b9da091
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/components/playground/playground.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
import React from 'react'
import dynamic from 'next/dynamic'
import { useTheme, Loading, Spacer } from 'components'
import { useTheme, Loading } from 'components'
import withDefaults from 'components/utils/with-defaults'
import { useConfigs } from 'lib/config-context'
import Title from './title'

const DynamicLive = dynamic(() => import('./dynamic-live'), {
ssr: false,
loading: () => (
<div>
<Spacer y={1.5} />
<div style={{ padding: '20pt 0' }}>
<Loading />
<Spacer y={1.5} />
</div>
),
})
Expand Down

0 comments on commit b9da091

Please sign in to comment.