Skip to content

Commit c6f4b55

Browse files
committed
Properly hide wsl box on linux
1 parent 7ab9e51 commit c6f4b55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pages/Onboarding.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export default ({}: OnboardingProps) => {
136136
)}
137137
</Typography>
138138
<div className="onboarding-cards">
139-
{!isWindows && (
139+
{isWindows && (
140140
<Card variant="soft">
141141
<Typography level="h3">Windows Subsystem for Linux</Typography>
142142
<Typography level="body-sm">
@@ -182,8 +182,8 @@ export default ({}: OnboardingProps) => {
182182
</>
183183
)}
184184
</Typography>
185-
{hasWSL && <Divider />}
186-
{hasWSL && (
185+
{!hasWSL && <Divider />}
186+
{!hasWSL && (
187187
<Button
188188
onClick={async () => {
189189
try {
@@ -198,7 +198,7 @@ export default ({}: OnboardingProps) => {
198198
Install WSL
199199
</Button>
200200
)}
201-
{hasWSL && (
201+
{!hasWSL && (
202202
<Button
203203
onClick={async () => {
204204
try {

0 commit comments

Comments
 (0)