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 authored Oct 22, 2024
1 parent 4e03980 commit f3020b1
Show file tree
Hide file tree
Showing 14 changed files with 866 additions and 177 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 f3020b1

Please sign in to comment.