Skip to content

Commit

Permalink
Update Sanity example for App Router
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Mar 12, 2024
1 parent 93721a6 commit ead2ce4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/cms-sanity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ npx vercel link
```
> [!TIP]
> In production you can exit Draft Mode by clickin on _"Back to published"_ at the top. On [Preview deployments](https://vercel.com/docs/deployments/preview-deployments) you can [toggle Draft Mode in the Vercel Toolbar](https://vercel.com/docs/workflow-collaboration/draft-mode#enabling-draft-mode-in-the-vercel-toolbar).
> In production you can exit Draft Mode by clicking on _"Back to published"_ at the top. On [Preview deployments](https://vercel.com/docs/deployments/preview-deployments) you can [toggle Draft Mode in the Vercel Toolbar](https://vercel.com/docs/workflow-collaboration/draft-mode#enabling-draft-mode-in-the-vercel-toolbar).
## Next steps
Expand Down
6 changes: 3 additions & 3 deletions examples/cms-sanity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"@sanity/image-url": "^1.0.2",
"@sanity/vision": "^3.32.0",
"@tailwindcss/typography": "^0.5.10",
"@types/node": "^20.11.25",
"@types/react": "^18.2.64",
"@types/node": "^20.11.26",
"@types/react": "^18.2.65",
"@types/react-dom": "^18.2.21",
"@vercel/speed-insights": "^1.0.10",
"autoprefixer": "^10.4.18",
Expand All @@ -28,7 +28,7 @@
"react-dom": "^18.2.0",
"rxjs": "^7.8.1",
"sanity": "^3.32.0",
"sanity-plugin-asset-source-unsplash": "^1.1.2",
"sanity-plugin-asset-source-unsplash": "^2.0.0",
"server-only": "^0.0.1",
"styled-components": "^6.1.8",
"tailwindcss": "^3.4.1",
Expand Down

0 comments on commit ead2ce4

Please sign in to comment.