Skip to content

Commit 6bad659

Browse files
author
MatiasWorker
committed
ignore SSR
1 parent 5f5ad26 commit 6bad659

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/site-isotype/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ function siteIsotype() {
5959
}}
6060
class="atom atom-1 atom-inner-shadow"
6161
>
62-
{!isAndroid && <SitePlanet class="planet" />}
62+
{isAndroid != null && !isAndroid && (
63+
<SitePlanet class="planet" />
64+
)}
6365
</div>
6466
<div
6567
ref={(ref) => {
@@ -69,7 +71,7 @@ function siteIsotype() {
6971
}}
7072
class="atom atom-2 atom-inner-shadow"
7173
>
72-
{!isAndroid && (
74+
{isAndroid != null && !isAndroid && (
7375
<SitePlanet class="planet" style="--duration: 60s" />
7476
)}
7577
</div>
@@ -81,7 +83,7 @@ function siteIsotype() {
8183
}}
8284
class="atom atom-3 atom-inner-shadow"
8385
>
84-
{!isAndroid && (
86+
{isAndroid != null && !isAndroid && (
8587
<SitePlanet
8688
class="planet"
8789
reverse

0 commit comments

Comments
 (0)