From 0397810f5c8f05151ee265824d28cb1c012ff026 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sun, 18 Feb 2024 00:56:35 +0800 Subject: [PATCH] test: fix ci problem --- src/client/components/website/WebsiteOverview.tsx | 5 +---- src/server/trpc/routers/website.ts | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) 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';