Skip to content

Commit eabc30c

Browse files
committed
fix faq layout
1 parent ac0d026 commit eabc30c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

docs/getting-started/faq.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,16 @@ const OrbitControlsWrapper = () => {
3232

3333
## I cannot enter the XR session!
3434

35-
### Missing Https:
36-
35+
1. **Missing Https**
3736
If you are trying to enter the AR or VR modus and nothing is happening, make sure that you are accessing the website using `https://`.
3837
In case you are using vite, we recommend using the `@vitejs/plugin-basic-ssl` to try out your vite application on your device while developing.
3938

40-
### Missing XR component
41-
39+
2. **Missing XR component**
4240
If you made sure that the website is accessed using `https://` and still nothing happens when executing `enterAR` or `enterVR`, it is likely that the `<XR>` component is missing. Be sure to add the `<XR>` component directly into the `<Canvas>` and make sure both the `<Canvas>` and the `<XR>` component are present when the button is pressed.
4341

44-
### Entering while loading content
45-
42+
3. **Entering while loading content**
4643
If you cannot enter the VR or AR experience, there might be assets in your scene that are loading.
4744
Make sure to place a suspense boundary around your scene. With this setup, the `<XR>` component stays mounted while your scene loads.
48-
4945
```tsx
5046
<Canvas>
5147
<XR>

0 commit comments

Comments
 (0)