fix(public): fix problems with building #2

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-11-13 22:12:17 +01:00
parent 915e8f4dbf
commit eab92bb780
9 changed files with 97 additions and 96 deletions

View File

@@ -10,7 +10,6 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { httpLink } from '@trpc/client';
import { ThemeProvider } from 'next-themes';
import { NuqsAdapter } from 'nuqs/adapters/next/app';
import type React from 'react';
import { useRef, useState } from 'react';
import { Provider as ReduxProvider } from 'react-redux';
import { Toaster } from 'sonner';

View File

@@ -1,5 +1,4 @@
import { cn } from '@/utils/cn';
import type React from 'react';
export const Grid: React.FC<
React.HTMLAttributes<HTMLDivElement> & { columns: number }

View File

@@ -1,11 +1,7 @@
import { ProjectLink } from '@/components/links';
import { Tooltiper } from '@/components/ui/tooltip';
import { useNumber } from '@/hooks/useNumerFormatter';
import type { RouterOutputs } from '@/trpc/client';
import { cn } from '@/utils/cn';
import { max, min, sum } from '@openpanel/common';
import { intervals } from '@openpanel/constants';
import type React from 'react';
import { max, min } from '@openpanel/common';
import { useReportChartContext } from '../context';
type CohortData = RouterOutputs['chart']['cohort'];