-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
💚 fix: fix vercel build #2666
💚 fix: fix vercel build #2666
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
WalkthroughThe recent updates primarily involve version upgrades for various dependencies in the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range and nitpick comments (2)
src/app/(main)/chat/_layout/Desktop/SessionPanel.tsx (2)
43-44
: LGTM! Consider adding a comment explaining the reason for the falsy check onnextWidth
.
Line range hint
50-50
: AddupdatePreference
to the dependency array of theuseEffect
hook to avoid potential bugs from stale closures.- }, [md, cacheExpand]); + }, [md, cacheExpand, updatePreference]);
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- package.json (6 hunks)
- src/app/(main)/chat/_layout/Desktop/SessionPanel.tsx (1 hunks)
Additional Context Used
Biome (2)
src/app/(main)/chat/_layout/Desktop/SessionPanel.tsx (2)
5-6: Some named imports are only used as types.
50-50: This hook does not specify all of its dependencies: updatePreference
Additional comments not posted (2)
src/app/(main)/chat/_layout/Desktop/SessionPanel.tsx (1)
Line range hint
5-6
: Usage of named imports as types is standard in TypeScript. No action needed.package.json (1)
Line range hint
87-157
: Dependency updates are minor version increments, which are generally safe. However, ensure to test thoroughly to catch any potential issues that might not be immediately apparent.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2666 +/- ##
=======================================
Coverage 93.74% 93.74%
=======================================
Files 352 352
Lines 20400 20400
Branches 2430 2430
=======================================
Hits 19123 19123
Misses 1277 1277 ☔ View full report in Codecov by Sentry. |
Why |
❤️ Great PR @arvinxx ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 0.161.20](v0.161.19...v0.161.20) <sup>Released on **2024-05-26**</sup> #### 🐛 Bug Fixes - **misc**: Fix vercel build. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix vercel build, closes [#2666](#2666) ([cb70e4a](cb70e4a)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
🎉 This PR is included in version 0.161.20 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.41.11](v1.41.10...v1.41.11) <sup>Released on **2024-05-26**</sup> #### 🐛 Bug Fixes - **misc**: Fix vercel build. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix vercel build, closes [lobehub#2666](https://github.com/bentwnghk/lobe-chat/issues/2666) ([cb70e4a](cb70e4a)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
I have another versioned |
### [Version 0.161.20](lobehub/lobe-chat@v0.161.19...v0.161.20) <sup>Released on **2024-05-26**</sup> #### 🐛 Bug Fixes - **misc**: Fix vercel build. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Fix vercel build, closes [lobehub#2666](lobehub#2666) ([cb70e4a](lobehub@cb70e4a)) </details> <div align="right"> [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
close #2662
📝 补充信息 | Additional Information
Summary by CodeRabbit
Bug Fixes
Chores