diff --git a/client/package-lock.json b/client/package-lock.json index 2c3a6c5..5ed1547 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -14,6 +14,7 @@ "@trpc/client": "^10.44.1", "@trpc/react-query": "^10.44.1", "@trpc/server": "^10.44.1", + "clsx": "^2.1.1", "dayjs": "^1.11.9", "firebase": "^10.1.0", "react": "^18.2.0", @@ -24,6 +25,7 @@ "react-masonry-css": "^1.0.16", "react-router-dom": "^6.14.2", "styled-components": "^6.1.0", + "tailwind-merge": "^2.5.2", "uuid": "^9.0.1", "zod": "^3.22.4" }, @@ -5406,6 +5408,14 @@ "node": ">=6" } }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "engines": { + "node": ">=6" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -11777,6 +11787,15 @@ "react": "^16.11.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/tailwind-merge": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/tailwind-merge/-/tailwind-merge-2.5.2.tgz", + "integrity": "sha512-kjEBm+pvD+6eAwzJL2Bi+02/9LFLal1Gs61+QB7HvTfQQ0aXwC5LGT8PEt1gS0CWKktKe6ysPTAy3cBC5MeiIg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/dcastil" + } + }, "node_modules/tailwindcss": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.3.3.tgz", diff --git a/client/package.json b/client/package.json index 5cf6922..9e3f09d 100644 --- a/client/package.json +++ b/client/package.json @@ -17,6 +17,7 @@ "@trpc/client": "^10.44.1", "@trpc/react-query": "^10.44.1", "@trpc/server": "^10.44.1", + "clsx": "^2.1.1", "dayjs": "^1.11.9", "firebase": "^10.1.0", "react": "^18.2.0", @@ -27,6 +28,7 @@ "react-masonry-css": "^1.0.16", "react-router-dom": "^6.14.2", "styled-components": "^6.1.0", + "tailwind-merge": "^2.5.2", "uuid": "^9.0.1", "zod": "^3.22.4" }, diff --git a/client/src/App.tsx b/client/src/App.tsx index 7453552..8a558bf 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -10,6 +10,7 @@ import { useState } from 'react'; import { trpc } from './utils/trpc'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { httpBatchLink } from '@trpc/client'; +import ActivityWrapper from './components/ActivityWrapper'; export default function App({ queryClient }: { queryClient: QueryClient }) { const { getToken, userId } = useAuth(); @@ -40,10 +41,10 @@ export default function App({ queryClient }: { queryClient: QueryClient }) {