Skip to content

Commit 8993922

Browse files
committed
fix typos
1 parent cc4ecb8 commit 8993922

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/targets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ export const Target = ({ targetIdx }: TargetProps) => {
2626
-Math.random() * 5 - 5
2727
);
2828
targets.add(target);
29-
}, [target]);
29+
}, []);
3030
return <primitive object={target} />;
3131
};

tutorial/chapter5.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ Next, we’ll render the score using the `Text` component from `@react-three/dre
3030

3131
```tsx
3232
import { Text } from "@react-three/drei";
33-
import { useScoreStore } from "./score";
3433

3534
export const Score = () => {
3635
const formatScoreText = (score: number) => {

0 commit comments

Comments
 (0)