fix broken overview
This commit is contained in:
@@ -40,7 +40,7 @@ export default function Page({
|
|||||||
</div>
|
</div>
|
||||||
<OverviewFiltersButtons />
|
<OverviewFiltersButtons />
|
||||||
</StickyBelowHeader>
|
</StickyBelowHeader>
|
||||||
{/* <div className="grid grid-cols-6 gap-4 p-4">
|
<div className="grid grid-cols-6 gap-4 p-4">
|
||||||
<div className="col-span-6">
|
<div className="col-span-6">
|
||||||
<OverviewLiveHistogram projectId={projectId} />
|
<OverviewLiveHistogram projectId={projectId} />
|
||||||
</div>
|
</div>
|
||||||
@@ -50,7 +50,7 @@ export default function Page({
|
|||||||
<OverviewTopDevices projectId={projectId} />
|
<OverviewTopDevices projectId={projectId} />
|
||||||
<OverviewTopEvents projectId={projectId} />
|
<OverviewTopEvents projectId={projectId} />
|
||||||
<OverviewTopGeo projectId={projectId} />
|
<OverviewTopGeo projectId={projectId} />
|
||||||
</div> */}
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
import withSuspense from '@/hocs/with-suspense';
|
import withSuspense from '@/hocs/with-suspense';
|
||||||
import { Globe2Icon } from 'lucide-react';
|
|
||||||
|
|
||||||
import { getShareByProjectId } from '@openpanel/db';
|
import { getShareByProjectId } from '@openpanel/db';
|
||||||
|
|
||||||
@@ -16,5 +15,5 @@ const OverviewShareServer = async ({ projectId }: Props) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export default withSuspense(OverviewShareServer, () => (
|
export default withSuspense(OverviewShareServer, () => (
|
||||||
<Button icon={Globe2Icon}>Private</Button>
|
<Button>Private</Button>
|
||||||
));
|
));
|
||||||
|
|||||||
Reference in New Issue
Block a user