Add rule banning literal text in JSX (#1367)

This commit is contained in:
Jed Fox 2020-04-10 12:58:46 -04:00 committed by GitHub
parent 7f04239176
commit 8ce595e5d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -4,7 +4,7 @@ export const LoadingMessage = () => {
// !! KEEP THIS IN SYNC WITH index.html !!
return (
<div className="LoadingMessage">
<span>Loading scene...</span>
<span>{"Loading scene..."}</span>
</div>
);
};