Skip to content
Snippets Groups Projects
Commit bbd7c34e authored by Corey Frang's avatar Corey Frang
Browse files

fix comments to fit in github review window

parent 5f676f55
Branches
Tags
No related merge requests found
......@@ -70,9 +70,9 @@ class Blocks extends React.Component {
);
this.workspace = this.ScratchBlocks.inject(this.blocks, workspaceConfig);
// we actually never want the workspace to enable "refresh toolbox" - this basically re-renders the entire toolbox
// every time we reset the workspace. We call updateToolbox as a part of componentDidUpdate so the toolbox will
// still correctly be updated
// we actually never want the workspace to enable "refresh toolbox" - this basically re-renders the
// entire toolbox every time we reset the workspace. We call updateToolbox as a part of
// componentDidUpdate so the toolbox will still correctly be updated
this.setToolboxRefreshEnabled = this.workspace.setToolboxRefreshEnabled.bind(this.workspace);
this.workspace.setToolboxRefreshEnabled = () => this.setToolboxRefreshEnabled(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment