Skip to content

Commit

Permalink
fix: ssr not always working (#1939)
Browse files Browse the repository at this point in the history
* - fix a bug where the WordPressTemplate was returning null when `isPreview` was null

* - update WordPressTemplate conditionals

* - add glob as a dependency to @faustwp/cli

* - add changeset for faustwp/cli
  • Loading branch information
jasonbahl authored Aug 22, 2024
1 parent 56dd90b commit 031c239
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 152 deletions.
5 changes: 5 additions & 0 deletions .changeset/tiny-years-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@faustwp/core': patch
---

Fixes a bug where the WordPressTemplate component would return `null` on the server when `isPreview` was null.
5 changes: 5 additions & 0 deletions .changeset/wet-camels-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@faustwp/cli': patch
---

Added "glob" as a dependency
Loading

0 comments on commit 031c239

Please sign in to comment.