mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-31 01:59:58 +00:00
📝 update changelog
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user