Skip to content

Commit 089e243

Browse files
committed
updated state change message in Diff.jsx
1 parent c8ed184 commit 089e243

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/components/Diff.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ function Diff({ snapshot, show }) {
2727
else formatters.html.hideUnchanged();
2828

2929
if (previous === undefined || delta === undefined)
30-
return <div> No changes to state: trigger an event to update state </div>;
30+
return (
31+
<div> No state change detected. Trigger an event to change state </div>
32+
);
3133
return <div>{ReactHtmlParser(html)}</div>;
3234
}
3335

0 commit comments

Comments
 (0)