From 12a510c464d6e7e9ff37031ee5066fb6769abcdd Mon Sep 17 00:00:00 2001 From: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com> Date: Fri, 29 Jul 2022 01:38:44 -0700 Subject: [PATCH] Chore: Fix CI: Use strict equality (#6702) --- .../components/NoteEditor/CodeMirror/decoratorExtension.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app-mobile/components/NoteEditor/CodeMirror/decoratorExtension.ts b/packages/app-mobile/components/NoteEditor/CodeMirror/decoratorExtension.ts index 385aa9bb0..43aa9f053 100644 --- a/packages/app-mobile/components/NoteEditor/CodeMirror/decoratorExtension.ts +++ b/packages/app-mobile/components/NoteEditor/CodeMirror/decoratorExtension.ts @@ -128,11 +128,11 @@ const computeDecorations = (view: EditorView) => { // Only block decorations will have differing first and last lines if (blockDecorated) { // Allow different styles for the first, last lines in a block. - if (viewFrom == node.from) { + if (viewFrom === node.from) { addDecorationToLines(viewFrom, viewFrom, regionStartDecoration); } - if (viewTo == node.to) { + if (viewTo === node.to) { addDecorationToLines(viewTo, viewTo, regionStopDecoration); } }