fix broken overview

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-05-01 14:21:10 +02:00
parent 5e743a3502
commit cff7822f12
2 changed files with 3 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ export default function Page({
</div>
<OverviewFiltersButtons />
</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">
<OverviewLiveHistogram projectId={projectId} />
</div>
@@ -50,7 +50,7 @@ export default function Page({
<OverviewTopDevices projectId={projectId} />
<OverviewTopEvents projectId={projectId} />
<OverviewTopGeo projectId={projectId} />
</div> */}
</div>
</>
);
}

View File

@@ -1,6 +1,5 @@
import { Button } from '@/components/ui/button';
import withSuspense from '@/hocs/with-suspense';
import { Globe2Icon } from 'lucide-react';
import { getShareByProjectId } from '@openpanel/db';
@@ -16,5 +15,5 @@ const OverviewShareServer = async ({ projectId }: Props) => {
};
export default withSuspense(OverviewShareServer, () => (
<Button icon={Globe2Icon}>Private</Button>
<Button>Private</Button>
));