1
0
mirror of synced 2025-12-29 09:00:12 -05:00

fix: getBlitzContext() can only be used in React Server Components in Nextjs 13 or higher (#4299)

* fix: remove custom errors thrown by blitz

* Create curvy-cougars-lick.md

* use require and eval rather than the await which becomes a `yield import` possibly causing the issue

* pnpm lock fix

* Update .changeset/curvy-cougars-lick.md

* add comment

* use correct error type

* Apply suggestions from code review
This commit is contained in:
Siddharth Suresh
2024-02-17 04:57:05 +05:30
committed by GitHub
parent e8f564ea66
commit 6f54841b7a
3 changed files with 188 additions and 170 deletions

View File

@@ -0,0 +1,6 @@
---
"@blitzjs/auth": patch
"blitz": patch
---
fix: getBlitzContext() can only be used in React Server Components in Nextjs 13 or higher