diff options
Diffstat (limited to 'source/helpers/show-whitespace-on-line.tsx')
-rw-r--r-- | source/helpers/show-whitespace-on-line.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/helpers/show-whitespace-on-line.tsx b/source/helpers/show-whitespace-on-line.tsx index 05f24526..8a60b18f 100644 --- a/source/helpers/show-whitespace-on-line.tsx +++ b/source/helpers/show-whitespace-on-line.tsx @@ -1,6 +1,6 @@ import React from 'dom-chef'; -import getTextNodes from './get-text-nodes'; +import getTextNodes from './get-text-nodes.js'; // `splitText` is used before and after each whitespace group so a new whitespace-only text node is created. This new node is then wrapped in a <span> export default function showWhiteSpacesOnLine(line: Element, shouldAvoidSurroundingSpaces = false): Element { |