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

perf: avoid read localStorage on every render #4514

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

SukkaW
Copy link
Contributor

@SukkaW SukkaW commented Apr 14, 2024

Prevents reading localStorage every time the <MaskPage /> renders.

Copy link

vercel bot commented Apr 14, 2024

@SukkaW is attempting to deploy a commit to the NextChat Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

Your build has completed!

Preview deployment

@Dean-YZG Dean-YZG merged commit 51f7daa into ChatGPTNextWeb:main Apr 15, 2024
1 of 2 checks passed
byte-hzzh added a commit to byte-hzzh/ChatGPT-Next-Web that referenced this pull request May 14, 2024
…formance"

This reverts commit 51f7daa, reversing
changes made to f742a7e.
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this pull request May 16, 2024
perf: avoid read localStorage on every render
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