Skip to content

Commit

Permalink
chore: integrate next.js package properly (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Nov 8, 2024
1 parent d2dea90 commit 7f3319b
Show file tree
Hide file tree
Showing 14 changed files with 838 additions and 191 deletions.
3 changes: 0 additions & 3 deletions examples/nextjs-app-router/app/auth/layout.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion examples/nextjs-app-router/app/auth/login/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Login } from "@ory/elements-react"
import { Login } from "@ory/elements-react/theme"
import { useOryConfig } from "@ory/nextjs"
import { getLoginFlow, OryPageParams } from "@ory/nextjs/app"
import "@ory/elements-react/theme/styles.css"
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs-app-router/middleware.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createOryMiddleware } from "@ory/nextjs/server"
import { createOryMiddleware } from "@ory/nextjs/middleware"

// This function can be marked `async` if using `await` inside
export const middleware = createOryMiddleware({
Expand Down
Loading

0 comments on commit 7f3319b

Please sign in to comment.