We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e1b368 commit 07a7613Copy full SHA for 07a7613
src/app/components/Diff.jsx
@@ -24,7 +24,7 @@ function Diff({ snapshot, show }) {
24
if (show) formatters.html.showUnchanged();
25
else formatters.html.hideUnchanged();
26
27
- if (previous === undefined) return <div> states are equal </div>;
+ if (previous === undefined || delta === undefined) return <div> states are equal </div>;
28
return (
29
<div>
30
{ ReactHtmlParser(html) }
0 commit comments