Commit 3e52fde
authored
fix: some more sentry fixes (#1577)
* fix: check if relatedTarget exists first
Resolves: https://blocknote-js.sentry.io/issues/33990038/?environment=vercel-production&query=is%3Aunresolved%20issue.priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-stream&stream_index=23
* fix: early exit if html ends up being empty
Resolves: https://blocknote-js.sentry.io/issues/32467184
* fix: only set state if it exists
Resolves: https://blocknote-js.sentry.io/issues/32235378/1 parent 18aedff commit 3e52fde
File tree
3 files changed
+8
-2
lines changed- packages
- core/src
- editor
- extensions/SuggestionMenu
- react/src/components/Comments
3 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1502 | 1502 | | |
1503 | 1503 | | |
1504 | 1504 | | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
1505 | 1508 | | |
1506 | 1509 | | |
1507 | 1510 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments