snapshot of https://github.com/TanStack/query.git (main, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
22
examples/react/nextjs-app-optimistic-updates/app/layout.tsx
Normal file
22
examples/react/nextjs-app-optimistic-updates/app/layout.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import Providers from './providers'
|
||||
import type React from 'react'
|
||||
import type { Metadata } from 'next'
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'TanStack Query — Optimistic Updates',
|
||||
description: 'Next.js App Router example with optimistic updates',
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<Providers>{children}</Providers>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user