Skip to content

Commit

Permalink
remove react aria ssr provider
Browse files Browse the repository at this point in the history
  • Loading branch information
oggnimodd committed Sep 9, 2023
1 parent e1a74b6 commit d3a4d9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
4 changes: 0 additions & 4 deletions apps/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@
"generate-pwa-asset": "node scripts/pwa-asset-generator.mjs"
},
"dependencies": {
"@acme/tailwind-config": "*",
"@acme/types": "*",
"@acme/ui": "*",
"@headlessui/react": "^1.7.11",
"@react-aria/ssr": "^3.5.0",
"@tanstack/react-query": "^4.20.4",
"axios": "^1.3.3",
"clsx": "^1.2.1",
Expand Down
9 changes: 3 additions & 6 deletions apps/nextjs/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import React from "react";
import { ThemeProvider } from "next-themes";
import Head from "next/head";
import { PwaMeta } from "components";
import { SSRProvider as ReactAriaSsrProvider } from "@react-aria/ssr";
import { Poppins } from "next/font/google";

const poppins = Poppins({
Expand All @@ -36,11 +35,9 @@ const MyApp: AppType<{
attribute="class"
enableSystem={false}
>
<ReactAriaSsrProvider>
<main className={`${poppins.variable} font-primary`}>
<Component {...pageProps} />
</main>
</ReactAriaSsrProvider>
<main className={`${poppins.variable} font-primary`}>
<Component {...pageProps} />
</main>
</ThemeProvider>
</Hydrate>
</QueryClientProvider>
Expand Down
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit d3a4d9d

Please sign in to comment.