diff --git a/src/index.tsx b/src/index.tsx index 3ff6c8dd..95df689c 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -194,7 +194,6 @@ class DiffViewer extends React.Component< const content = renderer ? renderer(wordDiff.value as string) : wordDiff.value; - if (typeof content !== "string") return; return wordDiff.type === DiffType.ADDED ? (