📝 update changelog

This commit is contained in:
yanyongyu 2022-01-12 11:54:01 +08:00
parent f837e5f3fa
commit e29db806cc
2 changed files with 9 additions and 3 deletions

View File

@ -20,9 +20,12 @@ export default function Paginate({
null
);
const ref = useCallback((element: HTMLElement | null) => {
setContainerElement(element);
}, []);
const ref = useCallback(
(element: HTMLElement | null) => {
setContainerElement(element);
},
[setContainerElement]
);
const maxWidth = useContentWidth(
containerElement?.parentElement ?? undefined

View File

@ -10,6 +10,9 @@ description: Changelog
- 修复文档商店分页显示错误
- 修复插件导入失败时,依然存在于已导入插件列表中
- 移除 `state` 依赖注入所需的默认值 `State()`
- 增加 `fastapi` 配置项:是否将适配器路由包含在 schema 中
- 修改 `load_builtin_plugins` 函数,使其能够支持加载多个内置插件
- 新增 `load_builtin_plugin` 函数,用于加载单个内置插件
## v2.0.0b1