diff --git a/src/client/components/website/WebsiteOverview.tsx b/src/client/components/website/WebsiteOverview.tsx index 95bb421..8010d8b 100644 --- a/src/client/components/website/WebsiteOverview.tsx +++ b/src/client/components/website/WebsiteOverview.tsx @@ -3,10 +3,7 @@ import React, { useMemo } from 'react'; import { Column, ColumnConfig } from '@ant-design/charts'; import { SyncOutlined } from '@ant-design/icons'; import { DateFilter } from '../DateFilter'; -import { - useWorkspaceWebsitePageview, - WebsiteInfo, -} from '../../api/model/website'; +import { WebsiteInfo } from '../../api/model/website'; import { DateUnit, formatDate, diff --git a/src/server/trpc/routers/website.ts b/src/server/trpc/routers/website.ts index c1c0144..bf8c027 100644 --- a/src/server/trpc/routers/website.ts +++ b/src/server/trpc/routers/website.ts @@ -8,6 +8,7 @@ import { z } from 'zod'; import { getWebsiteOnlineUserCount, getWorkspaceWebsitePageview, + getWorkspaceWebsiteSession, getWorkspaceWebsiteStats, } from '../../model/website'; import { prisma } from '../../model/_client';