From a0444b5ec30dcab5dc7a78a15636e23b788d29eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Mon, 9 Aug 2021 15:21:44 +0200 Subject: [PATCH] code style --- packages/suggestion/src/suggestion.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/suggestion/src/suggestion.ts b/packages/suggestion/src/suggestion.ts index cef89db7..78ca77ae 100644 --- a/packages/suggestion/src/suggestion.ts +++ b/packages/suggestion/src/suggestion.ts @@ -83,7 +83,9 @@ export function Suggestion({ return } - const state = handleExit && !handleStart ? prev : next + const state = handleExit && !handleStart + ? prev + : next const decorationNode = document.querySelector(`[data-decoration-id="${state.decorationId}"]`) const props: SuggestionProps = { editor,