fix(electron): download tip (#3711)

This commit is contained in:
Alex Yang
2023-08-11 21:11:19 -04:00
committed by GitHub
parent 1484818974
commit 582059f6d6

View File

@@ -70,12 +70,16 @@ export const guideOnboardingAtom = atom<
}));
}
);
export const guideDownloadClientTipAtom = atom<
Guide['downloadClientTip'],
[open: boolean],
void
>(
get => {
if (environment.isDesktop) {
return false;
}
return get(guidePrimitiveAtom).downloadClientTip;
},
(_, set, open) => {