summaryrefslogtreecommitdiff
path: root/src/views/LandscapeWarning.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-10-15 14:16:33 +0200
committerJules Laplace <julescarbon@gmail.com>2021-10-15 14:16:33 +0200
commitb2c6a37430438c72a0fee45bc2d538875f2f803e (patch)
tree6830db03f1e7907c5537c74528190d6b3b7a4a5c /src/views/LandscapeWarning.js
parent467c9335c16c701d0d7e04af39b858bbfe54db96 (diff)
update db
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>