Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant