Skip to content

Commit

Permalink
fix: react strict mode
Browse files Browse the repository at this point in the history
feat: vanilla api improvements
  • Loading branch information
bbohlender committed Apr 11, 2024
1 parent b3febb2 commit 7d459fb
Show file tree
Hide file tree
Showing 67 changed files with 2,153 additions and 1,550 deletions.
2 changes: 1 addition & 1 deletion examples/dashboard/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function App() {
gl={{ localClippingEnabled: true }}
>
<XWebPointers />
<Fullscreen backgroundColor={0xffffff} dark={{ backgroundColor: 0x0 }}>
<Fullscreen distanceToCamera={1} backgroundColor={0xffffff} dark={{ backgroundColor: 0x0 }}>
<Defaults>
<DialogAnchor>
<Container flexDirection="column" width="100%" height="100%" overflow="scroll">
Expand Down
2 changes: 1 addition & 1 deletion examples/dashboard/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'
import App from './App.js'

createRoot(document.getElementById('root')!).render(
<StrictMode>
Expand Down
Loading

0 comments on commit 7d459fb

Please sign in to comment.