Skip to content

Commit

Permalink
fix(tests): consistent return in useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
mrMetalWood committed Aug 27, 2020
1 parent 325d63c commit 0847939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/components/main/globe/globe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ const Globe: FunctionComponent<Props> = ({
// update mousedown handler
useEffect(() => {
if (!viewer) {
return;
return () => {};
}

const handler = new ScreenSpaceEventHandler(
Expand Down

0 comments on commit 0847939

Please sign in to comment.