@lobehub/lobehub 2.0.0-next.77 → 2.0.0-next.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ## [Version 2.0.0-next.78](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.77...v2.0.0-next.78)
6
+
7
+ <sup>Released on **2025-11-18**</sup>
8
+
9
+ <br/>
10
+
11
+ <details>
12
+ <summary><kbd>Improvements and Fixes</kbd></summary>
13
+
14
+ </details>
15
+
16
+ <div align="right">
17
+
18
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
19
+
20
+ </div>
21
+
5
22
  ## [Version 2.0.0-next.77](https://github.com/lobehub/lobe-chat/compare/v2.0.0-next.76...v2.0.0-next.77)
6
23
 
7
24
  <sup>Released on **2025-11-18**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,9 @@
1
1
  [
2
+ {
3
+ "children": {},
4
+ "date": "2025-11-18",
5
+ "version": "2.0.0-next.78"
6
+ },
2
7
  {
3
8
  "children": {
4
9
  "improvements": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/lobehub",
3
- "version": "2.0.0-next.77",
3
+ "version": "2.0.0-next.78",
4
4
  "description": "LobeHub - an open-source,comprehensive AI Agent framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -30,29 +30,14 @@ export interface ActionDropdownProps extends DropdownProps {
30
30
  }
31
31
 
32
32
  const ActionDropdown = memo<ActionDropdownProps>(
33
- ({
34
- menu,
35
- maxHeight,
36
- minWidth,
37
- maxWidth,
38
- children,
39
- placement = 'top',
40
- prefetch = false,
41
- destroyOnHidden,
42
- forceRender,
43
- ...rest
44
- }) => {
33
+ ({ menu, maxHeight, minWidth, maxWidth, children, placement = 'top', ...rest }) => {
45
34
  const { cx, styles } = useStyles();
46
35
  const isMobile = useIsMobile();
47
36
 
48
- const dropdownForceRender = prefetch ? true : forceRender;
49
- const dropdownDestroyOnHidden = prefetch ? false : destroyOnHidden;
50
-
51
37
  return (
52
38
  <Dropdown
53
39
  arrow={false}
54
- destroyOnHidden={dropdownDestroyOnHidden}
55
- forceRender={dropdownForceRender}
40
+ destroyOnHidden={false}
56
41
  menu={{
57
42
  ...menu,
58
43
  className: cx(styles.dropdownMenu, menu.className),
@@ -146,7 +146,6 @@ const ModelSwitchPanel = memo<IProps>(({ children, onOpenChange, open }) => {
146
146
  onOpenChange={onOpenChange}
147
147
  open={open}
148
148
  placement={'topLeft'}
149
- prefetch
150
149
  >
151
150
  {icon}
152
151
  </ActionDropdown>