summaryrefslogtreecommitdiff
path: root/src/views/LandscapeWarning.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/LandscapeWarning.js')
-rw-r--r--src/views/LandscapeWarning.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/views/LandscapeWarning.js b/src/views/LandscapeWarning.js
index 9031eb9..c834858 100644
--- a/src/views/LandscapeWarning.js
+++ b/src/views/LandscapeWarning.js
@@ -60,7 +60,7 @@ export default class LandscapeWarning extends Component {
<div className="landscape-warning">
{RotateIcon}
{PhoneIcon}
- {isiPhone && (
+ {isiPhone ? (
<div className="landscape-message">
{"Please tap "}
<small>A</small>
@@ -68,8 +68,7 @@ export default class LandscapeWarning extends Component {
<br />
{"then rotate your device."}
</div>
- )}
- {!isiPhone && (
+ ) : (
<div className="landscape-message">{"Please rotate your device"}</div>
)}
</div>