fix linting error caused by 8b2133e

This commit is contained in:
Cassie Tarakajian 2018-10-23 16:14:27 -04:00
parent 8b2133ea99
commit 5196a37807

View file

@ -241,7 +241,7 @@ class PreviewFrame extends React.Component {
// could also pull file from API instead of using bloburl // could also pull file from API instead of using bloburl
const blobURL = getBlobUrl(resolvedFile); const blobURL = getBlobUrl(resolvedFile);
this.props.setBlobUrl(resolvedFile, blobURL); this.props.setBlobUrl(resolvedFile, blobURL);
const filePathRegex = new RegExp(filePath, "gi"); const filePathRegex = new RegExp(filePath, 'gi');
newContent = newContent.replace(filePathRegex, blobURL); newContent = newContent.replace(filePathRegex, blobURL);
} }
} }