deep-foundation / deep-foundation/deeplinks

deep.login cause rerender with deep.linkId == 0 even if loginResult.linkId !== 0

Open
#225 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
13
Forks
8
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

deep.login cause rerender with deep.linkId == 0 even if loginResult.linkId !== 0

### Expected Behavior

deep.linkId == loginResult.linkId after rerender

### Current Behavior

deep.linkId == 0 after rerender

### Steps to reproduce

1. Clone https://github.com/deep-foundation/sdk/commit/1f2e5bb7ee7826f752de35443a70cadc3c7d9f86
2. npm install
3. npm run dev
4. Pass your gql path and token and see that nothing happens after clicking "Login button"
5. Checkout to https://github.com/deep-foundation/sdk/commit/4132140441d1e73ad6640b31fd4031f79164524f
6. npm install
7. npm run dev
8. Pass your gql path adn token and see that login button is working

### Environment

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.