We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f3dd9a4 + 75737f2 commit 38d426dCopy full SHA for 38d426d
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