mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 10:06:17 +08:00
fix: console warning
This commit is contained in:
@@ -25,8 +25,11 @@ export const placementToContainerDirection: Record<
|
||||
'auto-end': 'none',
|
||||
};
|
||||
|
||||
export const Popover = (props: PropsWithChildren<PopoverProps>) => {
|
||||
const { popoverDirection, placement, content, children, style } = props;
|
||||
export const Popover = ({
|
||||
popoverDirection,
|
||||
...props
|
||||
}: PropsWithChildren<PopoverProps>) => {
|
||||
const { placement, content, children, style } = props;
|
||||
return (
|
||||
<Popper
|
||||
{...props}
|
||||
|
||||
Reference in New Issue
Block a user