Skip to content

Commit 765e806

Browse files
committed
Remove commented out code
1 parent 155b761 commit 765e806

File tree

1 file changed

+0
-2
lines changed
  • apps/components_guide_web/lib/components_guide_web/templates/react_typescript

1 file changed

+0
-2
lines changed

apps/components_guide_web/lib/components_guide_web/templates/react_typescript/editor.html.eex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,6 @@ require(["vs/editor/editor.main"], function () {
294294
})
295295
.then(({ code, codeBytes, duration }) => {
296296
console.log("NEW CODE!");
297-
//window.useReducer = window.React.useReducer;
298-
//window.useMemo = window.React.useMemo;
299297
const hookNames = Object.keys(window.React).filter(name => name.startsWith('use'));
300298
const preamble = hookNames.map(hookName => `const ${hookName} = window.React.${hookName}`).join(';');
301299
const executor = new Function(`${preamble}; ${code}; return exports.Example();`);

0 commit comments

Comments
 (0)