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