Commit 94c759b
AI Assistant: Update usage of usePostContent for only when necessary (#42149)
* make url optional on useAutosaveAndRedirect as it is only used by one function
* refactor usePostContent hook to expose isEditedPostEmpty
* refactor uses of usePostContent hook
* fix some deprecation warnings
* changelog
Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/13594385339
Upstream-Ref: Automattic/jetpack@e908b001 parent 865af12 commit 94c759b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments