|
|
@@ -17,14 +17,8 @@ export function SwitcherPopover({ children, menuItem, ...props }) {
|
|
|
<Popover.Panel className="absolute z-10 m-auto mt-4 ">
|
|
|
{({ close }) => (
|
|
|
<div className="fixed left-0 w-full">
|
|
|
- <div
|
|
|
- className="m-auto w-full max-w-[600px] overflow-hidden rounded-lg bg-white p-4 shadow-xl ring-1 ring-black ring-opacity-5 dark:border dark:border-slate-600 dark:bg-neutral-900"
|
|
|
- >
|
|
|
- <Grid
|
|
|
- className="relative md:grid-flow-row md:grid-cols-2"
|
|
|
- onClick={close}
|
|
|
- menuItem={menuItem}
|
|
|
- />
|
|
|
+ <div className="m-auto w-full max-w-[600px] overflow-hidden rounded-lg bg-white p-4 shadow-xl ring-1 ring-black ring-opacity-5 dark:border dark:border-slate-600 dark:bg-neutral-900">
|
|
|
+ <Grid onClick={close} menuItem={menuItem} />
|
|
|
</div>
|
|
|
</div>
|
|
|
)}
|