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

Editor user preferences are reset when the page is refreshed #17

Open
shillo-a opened this issue Mar 21, 2024 · 1 comment
Open

Editor user preferences are reset when the page is refreshed #17

shillo-a opened this issue Mar 21, 2024 · 1 comment

Comments

@shillo-a
Copy link

Hi!
Noticed that editor user preferences in local storage are reset when the page is refreshed.
It is happened with newer version of tldraw (v2.0.0-beta.4, v2.0.2).

@shillo-a
Copy link
Author

shillo-a commented Mar 27, 2024

I suppose that the problem with this line of code

setUserPreferences({ id: yClientId })

Why do we need define user id from yClientId?
yClientId changes for every connection.

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

No branches or pull requests

1 participant