98 | {!deviceOrientationStarted && (
99 |
102 | )}
103 | {deviceOrientationError && (
104 |
105 | {deviceOrientationError}
106 |
107 | )}
108 |
109 | );
110 | }
111 |
112 | const okOrientation =
113 | orientationType && orientationType.startsWith("landscape");
114 |
115 | if (!okOrientation) {
116 | return (
117 |