This commit is contained in:
rizky 2024-07-25 19:29:04 -07:00
parent 8d5cb9674b
commit 6fb07b9749
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -175,7 +175,6 @@ export const Layout: FC<LYTChild> = (props) => {
});
}}
>
{JSON.stringify(local.loading)}
{props.default_layout}
</props.PassProp>
);