Skip to content

Commit

Permalink
Merge pull request #2565 from tallycash/operational-effect
Browse files Browse the repository at this point in the history
Operational Effect: Correctly detect the OS in tabbed onboarding
  • Loading branch information
Gergő Nagy authored Nov 8, 2022
2 parents 5ff1f84 + d675e69 commit 39b9166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/pages/Onboarding/Tabbed/Done.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Done(): ReactElement {
let active = true

async function loadOS() {
if (!active) {
if (active) {
setOS((await browser.runtime.getPlatformInfo()).os)
}
}
Expand Down

0 comments on commit 39b9166

Please sign in to comment.