fix
This commit is contained in:
parent
8d5cb9674b
commit
6fb07b9749
|
|
@ -192,8 +192,9 @@ export function Popover({
|
||||||
const popover = usePopover({ modal, ...restOptions });
|
const popover = usePopover({ modal, ...restOptions });
|
||||||
|
|
||||||
let _content = content;
|
let _content = content;
|
||||||
|
console.log(!content)
|
||||||
if (!content) _content = <div className={"w-[300px] h-[150px]"}></div>;
|
if (!content) _content = <div className={"w-[300px] h-[150px]"}></div>;
|
||||||
|
console.log(typeof restOptions.open)
|
||||||
return (
|
return (
|
||||||
<PopoverContext.Provider value={popover}>
|
<PopoverContext.Provider value={popover}>
|
||||||
<PopoverTrigger
|
<PopoverTrigger
|
||||||
|
|
|
||||||
|
|
@ -175,7 +175,6 @@ export const Layout: FC<LYTChild> = (props) => {
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{JSON.stringify(local.loading)}
|
|
||||||
{props.default_layout}
|
{props.default_layout}
|
||||||
</props.PassProp>
|
</props.PassProp>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue