Skip to content

Commit 5e010a5

Browse files
committed
Remove unnecessary early return
1 parent c4424bd commit 5e010a5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/VR.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,6 @@ const controllerIDs = {
621621
};
622622

623623
function getControllerID(vrDisplay, hand) {
624-
if (!vrDisplay) { return; }
625624
if (vrDisplay.id === 'OpenVR' ||
626625
vrDisplay.id === 'GearVR' ||
627626
vrDisplay.id === 'OculusGo') {

0 commit comments

Comments
 (0)