code style
This commit is contained in:
@@ -83,7 +83,9 @@ export function Suggestion({
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const state = handleExit && !handleStart ? prev : next
|
const state = handleExit && !handleStart
|
||||||
|
? prev
|
||||||
|
: next
|
||||||
const decorationNode = document.querySelector(`[data-decoration-id="${state.decorationId}"]`)
|
const decorationNode = document.querySelector(`[data-decoration-id="${state.decorationId}"]`)
|
||||||
const props: SuggestionProps = {
|
const props: SuggestionProps = {
|
||||||
editor,
|
editor,
|
||||||
|
|||||||
Reference in New Issue
Block a user