Skip to content
Snippets Groups Projects
Commit aa682aaa authored by Karishma Chadha's avatar Karishma Chadha
Browse files

Remove unnecessary toString call in the project-loader. Let VM/Parser handle it.

parent 67a8a679
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ const ProjectLoaderHOC = function (WrappedComponent) {
storage
.load(storage.AssetType.Project, this.state.projectId, storage.DataFormat.JSON)
.then(projectAsset => projectAsset && this.setState({
projectData: projectAsset.data.toString(),
projectData: projectAsset.data,
fetchingProject: false
}))
.catch(err => log.error(err));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment