Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli committed Nov 3, 2024
1 parent 22b33c5 commit 68df262
Show file tree
Hide file tree
Showing 6 changed files with 229 additions and 254 deletions.
5 changes: 2 additions & 3 deletions examples/next-streaming-react-query/next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
module.exports = {
reactStrictMode: true,
experimental: {
typedRoutes: true,
},
}

module.exports = nextConfig
3 changes: 1 addition & 2 deletions examples/next-streaming-react-query/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import type { Metadata } from 'next'
import type { ReactNode } from 'react'
import { Providers } from './providers'

export const metadata: Metadata = {
export const metadata = {
title: 'Next HTML Streaming with Suspense',
}

Expand Down
6 changes: 1 addition & 5 deletions examples/next-streaming-react-query/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"plugins": [{ "name": "next" }],
"paths": {
"~/*": ["./src/*"]
}
Expand Down
4 changes: 1 addition & 3 deletions examples/visualization/next.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
module.exports = {
reactStrictMode: true,
transpilePackages: ['@suspensive/react', '@suspensive/react-query'],
experimental: {
typedRoutes: true,
},
}

module.exports = nextConfig
Loading

0 comments on commit 68df262

Please sign in to comment.