Skip to content

Commit

Permalink
fix: Typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dotmot committed Jan 30, 2024
1 parent 5c584c2 commit 4e7d898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/composables/effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const useEffect = <T extends Effect>( newEffectFunction: () => T) => {
effect.value.mainCamera = camera.value
})

let unwatch = () => {} // seperate declaration prevents error in HMR
let unwatch = () => { } // separate declaration prevents error in HMR

unwatch = watchEffect(() => {
if (!camera.value || !composer?.value || !scene.value) return
Expand Down

0 comments on commit 4e7d898

Please sign in to comment.