diff --git a/.idea/jsLinters/eslint.xml b/.idea/jsLinters/eslint.xml new file mode 100644 index 0000000..541945b --- /dev/null +++ b/.idea/jsLinters/eslint.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/app/components/ui/tooltip.tsx b/app/components/ui/tooltip.tsx index 70f03e0..8da129c 100644 --- a/app/components/ui/tooltip.tsx +++ b/app/components/ui/tooltip.tsx @@ -1,7 +1,7 @@ 'use client' import * as TooltipPrimitive from '@radix-ui/react-tooltip' -import clsx from 'clsx' +import {clsx} from 'clsx' import { ComponentPropsWithoutRef, ReactNode } from 'react' type TooltipProps = Omit< diff --git a/app/entry.client.tsx b/app/entry.client.tsx index 497950f..27d5f22 100644 --- a/app/entry.client.tsx +++ b/app/entry.client.tsx @@ -1,52 +1,13 @@ -import { startTransition, StrictMode, useEffect } from 'react' -import { hydrateRoot } from 'react-dom/client' -import posthog from 'posthog-js' -import { useLocation, useMatches, RemixBrowser } from '@remix-run/react' -import * as Sentry from '@sentry/remix' +import {startTransition, StrictMode} from 'react' +import {hydrateRoot} from 'react-dom/client' +import {RemixBrowser} from '@remix-run/react' -function PosthogInit() { - useEffect(() => { - posthog.init(import.meta.env.VITE_PH_API_KEY, { - api_host: import.meta.env.VITE_PH_API_HOST, - person_profiles: 'identified_only', - capture_pageview: false, - }) - }, []) - - return null -} -Sentry.init({ - dsn: import.meta.env.VITE_ENV_SENTRY_DSN, - integrations: [ - Sentry.browserTracingIntegration({ - useEffect, - useLocation, - useMatches, - }), - // Replay is only available in the client - Sentry.replayIntegration(), - ], - - // Set tracesSampleRate to 1.0 to capture 100% - // of transactions for tracing. - // We recommend adjusting this value in production - tracesSampleRate: 1.0, - - // Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled - tracePropagationTargets: ['localhost', /^https:\/\/yourserver\.io\/api/], - - // Capture Replay for 10% of all sessions, - // plus for 100% of sessions with an error - replaysSessionSampleRate: 0.1, - replaysOnErrorSampleRate: 1.0, -}) startTransition(() => { hydrateRoot( document, - ) -}) +}) \ No newline at end of file diff --git a/app/routes/_index.tsx b/app/routes/_index.tsx index 78f2cb0..fe9f54d 100644 --- a/app/routes/_index.tsx +++ b/app/routes/_index.tsx @@ -31,7 +31,7 @@ export default function Index() { if (values.length === 0) return null return ( - } key={label}> + // } key={label}> {label} - + // ) })} diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..a27c697 Binary files /dev/null and b/bun.lockb differ diff --git a/package.json b/package.json index 079a675..4681611 100644 --- a/package.json +++ b/package.json @@ -13,12 +13,11 @@ "dependencies": { "@headlessui/react": "1.7.18", "@headlessui/tailwindcss": "0.2.0", - "@radix-ui/react-tooltip": "^1.1.0", + "@radix-ui/react-tooltip": "1.1.0", "@remix-run/node": "^2.9.2", "@remix-run/react": "^2.9.2", "@remix-run/serve": "^2.9.2", "@remixicon/react": "^4.2.0", - "@sentry/remix": "^8.30.0", "@tremor/react": "^3.17.2", "clsx": "^2.1.1", "date-fns": "^3.6.0", @@ -52,9 +51,6 @@ "vite": "^5.1.0", "vite-tsconfig-paths": "^4.2.1" }, - "engines": { - "node": ">=20.0.0" - }, "prettier": "@it-incubator/prettier-config", "packageManager": "pnpm@9.1.1" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 870aaed..bc58a80 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,7 +15,7 @@ importers: specifier: 0.2.0 version: 0.2.0(tailwindcss@3.4.4) '@radix-ui/react-tooltip': - specifier: ^1.1.0 + specifier: 1.1.0 version: 1.1.0(@types/react-dom@18.3.0)(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@remix-run/node': specifier: ^2.9.2