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< export const guideDownloadClientTipAtom = atom<
Guide['downloadClientTip'], Guide['downloadClientTip'],
[open: boolean], [open: boolean],
void void
>( >(
get => { get => {
if (environment.isDesktop) {
return false;
}
return get(guidePrimitiveAtom).downloadClientTip; return get(guidePrimitiveAtom).downloadClientTip;
}, },
(_, set, open) => { (_, set, open) => {