diff --git a/.lintstagedrc.mjs b/.lintstagedrc.mjs
index 274c24d5..87f73ef6 100644
--- a/.lintstagedrc.mjs
+++ b/.lintstagedrc.mjs
@@ -1,6 +1,6 @@
/** @type {import("lint-staged").Config} */
const config = {
- '*': ['prettier --ignore-path .gitignore --ignore-unknown --write'],
+ '*': ['prettier --ignore-unknown --write'],
}
export default config
diff --git a/docs/getting-started/authoring.mdx b/docs/getting-started/authoring.mdx
index 61db2940..16ce2877 100644
--- a/docs/getting-started/authoring.mdx
+++ b/docs/getting-started/authoring.mdx
@@ -151,18 +151,19 @@ export function Box(props) {
const [active, setActive] = useState(false)
useFrame((state, delta) => (meshRef.current.rotation.x += delta))
-return (
- setActive(!active)}
-onPointerOver={(event) => setHover(true)}
-onPointerOut={(event) => setHover(false)} >
-
-
-
-)
+ return (
+ setActive(!active)}
+ onPointerOver={(event) => setHover(true)}
+ onPointerOut={(event) => setHover(false)}
+ >
+
+
+
+ )
}`,
'/App.js': `import {Canvas} from '@react-three/fiber'
import {Box} from './Box'