Commit 0c72925
committed
fix: resolve AbortError and fix suggestion chips visibility
- Add isMountedRef guard to editor initialization effect
- Fix initialization effect dependency to properly watch currentDocument
- Remove invalid 'on-empty' parameter from suggestions (restore defaults)
- Prevents state updates after unmount that caused AbortError1 parent 280e8f2 commit 0c72925
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
170 | 169 | | |
171 | 170 | | |
172 | 171 | | |
| |||
210 | 209 | | |
211 | 210 | | |
212 | 211 | | |
213 | | - | |
214 | 212 | | |
215 | 213 | | |
216 | 214 | | |
| |||
0 commit comments