Browse Source

website/pages/demo_roll/[name]: fix iframe

master
remorses 9 months ago
parent
commit
dd5ad6bd72
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      website/pages/demo_roll/[name].tsx

+ 2
- 1
website/pages/demo_roll/[name].tsx View File

@ -37,12 +37,13 @@ export default function Page({}) {
h='100%'
align='flex-start'
>
{!name || !loaded ? (
{!name ? (
<Stack align='center' justify='center'>
<Spinner />
</Stack>
) : (
<Iframe
display={loaded ? 'block' : 'none'}
url={`${DEMOS_WEBSITE}/demos/${name}`}
width='100%'
height='100%'

Loading…
Cancel
Save