Skip to content

Commit

Permalink
fix: #97
Browse files Browse the repository at this point in the history
  • Loading branch information
guanbinrui committed Aug 8, 2019
1 parent 3d055e1 commit dea3508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/InjectedComponents/NotSetupYetPrompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ const useNotSetUpYetStyles = makeStyles({
},
})
export function NotSetupYetPrompt() {
const id = useLastRecognizedIdentity().identifier
const id = useLastRecognizedIdentity()
const styles = useNotSetUpYetStyles()
const button = (
<Button
onClick={() => {
if (GetContext() === 'options') {
location.hash = '/welcome'
} else Services.Welcome.openWelcomePage(id)
} else Services.Welcome.openWelcomePage(id.identifier)
}}
color="primary"
size="small">
Expand Down

0 comments on commit dea3508

Please sign in to comment.