fix linting error caused by 8b2133e
This commit is contained in:
parent
8b2133ea99
commit
5196a37807
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue