mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
remove optional chaining
This commit is contained in:
parent
471f2176e8
commit
17d5d7ce1b
@ -189,7 +189,7 @@ module.exports = function (api) {
|
||||
// return null
|
||||
// }
|
||||
|
||||
if (options?.internal?.typeName !== 'DocPage') {
|
||||
if (options.internal.typeName !== 'DocPage') {
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user