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 7338361 commit c1e6807Copy full SHA for c1e6807
beta/plugins/remark-sandpack-target-languages.js
@@ -52,7 +52,9 @@ module.exports = () => {
52
} catch (error) {
53
// TODO: Test behavior when we just let it throw here.
54
// We're mostly handling malformed snippet code here.
55
- console.warn(`Failed to compile ${meta}:\n${codeTS}\n${error}`);
+ throw new Error(
56
+ `Failed to compile ${meta}:\n${codeTS}\n${error}`
57
+ );
58
}
59
const codeJSNode = {
60
type: 'code',
beta/src/content/learn/describing-the-ui.md
@@ -94,7 +94,7 @@ export default function Gallery() {
94
```
95
96
```tsx Profile.tsx
97
-export default function Profile() {
+export dfault function Profile() {
98
return (
99
<img
100
src="https://i.imgur.com/QIrZWGIs.jpg"
0 commit comments