Skip to content

Commit

Permalink
fix: set return type to null as a fn w/ return type 'void' is not a v…
Browse files Browse the repository at this point in the history
…alid JSX element (#1261)

* fix: set return type to null as a fn w/ return type 'void' is not a valid JSX element

Signed-off-by: rajput-hemant <hemant.rajput_cs20@gla.ac.in>

* removed trailing semicolon

Signed-off-by: rajput-hemant <rajput.hemant2001@gmail.com>

---------

Signed-off-by: rajput-hemant <hemant.rajput_cs20@gla.ac.in>
Signed-off-by: rajput-hemant <rajput.hemant2001@gmail.com>
  • Loading branch information
rajput-hemant committed Feb 11, 2023
1 parent 2d19f87 commit c765706
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/softShadows.tsx
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,5 @@ export function SoftShadows({ frustum = 3.75, size = 0.005, near = 9.5, samples
reset(gl, scene, camera)
}
}, [frustum, size, near, samples, rings])
return null
}

1 comment on commit c765706

@vercel
Copy link

@vercel vercel bot commented on c765706 Feb 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.