We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3dd9a4 commit 75737f2Copy full SHA for 75737f2
packages/common/src/templates/template.ts
@@ -67,7 +67,9 @@ const CLIENT_VIEWS: ViewConfig[] = [
67
];
68
69
// React sandboxes have an additional devtool on top of CLIENT_VIEWS
70
-const REACT_CLIENT_VIEWS: ViewConfig[] = [...CLIENT_VIEWS];
+const REACT_CLIENT_VIEWS: ViewConfig[] = JSON.parse(
71
+ JSON.stringify(CLIENT_VIEWS)
72
+);
73
REACT_CLIENT_VIEWS[1].views.push({ id: 'codesandbox.react-devtools' });
74
75
const SERVER_VIEWS: ViewConfig[] = [
0 commit comments