Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Allow users to connect to dapps before logging in #2450

Merged
merged 4 commits into from
Nov 16, 2022

Conversation

comountainclimber
Copy link
Member

What current issue(s) from Trello/Github does this address?

What problem does this PR solve?

How did you solve this problem?

How did you make sure your solution works?

Are there any special changes in the code that we should be aware of?

Is there anything else we should know?

  • Unit tests written?

ipc.on('link', (event, url) => {
const { uri } = parseQuery(decodeURI(url))
if (uri) {
if (store.getState()?.spunky?.auth?.data?.address) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We check to see if there is a loaded address in the state tree, if there is we immediately perform the route change otherwise render the notification and queue the route

@comountainclimber comountainclimber merged commit a5a3ded into dev Nov 16, 2022
@comountainclimber comountainclimber deleted the 376p5gx branch September 23, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants