Skip to content

Commit

Permalink
website: Fix crash when running playground example (#9340)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpalmer authored Jan 9, 2025
1 parent 9cc2dd9 commit 24e33a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api-reference/core/deck.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The following properties are used to initialize a `Deck` instance. Any custom va

The canvas to render into. Can be either a HTMLCanvasElement or the element id. Will be auto-created if not supplied.

#### `device` ([Device](https://luma.gl/docs/api-reference/core/device))
#### `device` ([Device](https://luma.gl/docs/api-reference/core/device)) {#device}

luma.gl Device used to manage the application's connection with the GPU. Will be auto-created if not supplied.

Expand Down
3 changes: 2 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ const config = {
theme: {
customCss: [
resolve('./src/styles.css'),
resolve('./node_modules/maplibre-gl/dist/maplibre-gl.css')
resolve('./node_modules/maplibre-gl/dist/maplibre-gl.css'),
resolve('../modules/widgets/dist/stylesheet.css')
]
}
})
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/playground.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function Playground() {
<Container>
<Suspense>
<BrowserOnly>
<App />
{() => <App />}
</BrowserOnly>
</Suspense>
</Container>
Expand Down

0 comments on commit 24e33a3

Please # to comment.