Skip to content

Commit

Permalink
Update nextjs example to 15rc
Browse files Browse the repository at this point in the history
  • Loading branch information
chungweileong94 committed May 24, 2024
1 parent af71a43 commit fa704ab
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 109 deletions.
6 changes: 3 additions & 3 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"next": "14.3.0-canary.70",
"react": "19.0.0-beta-04b058868c-20240508",
"react-dom": "19.0.0-beta-04b058868c-20240508",
"next": "15.0.0-rc.0",
"react": "19.0.0-rc-f994737d14-20240522",
"react-dom": "19.0.0-rc-f994737d14-20240522",
"server-act": "workspace:*",
"zod": "^3.22.2",
"zod-form-data": "^2.0.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/src/app/form-action/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function SubmitButton() {
return (
<button
type="submit"
className=" rounded-md border-2 border-black bg-red-100 px-4 py-2"
className="rounded-md border-2 border-black bg-red-100 px-4 py-2"
disabled={status.pending}
>
{status.pending ? "Loading..." : "Say hello to the server"}
Expand Down
Loading

0 comments on commit fa704ab

Please sign in to comment.