From 7d9724be2c07eeea95c100bdb889a29f50f08657 Mon Sep 17 00:00:00 2001 From: Ryan Christian Date: Wed, 3 Jul 2024 18:54:54 -0500 Subject: [PATCH] revert: Provide errors to editor, though they're unusable --- src/components/code-editor/index.jsx | 1 + src/components/controllers/repl/index.jsx | 1 + src/components/controllers/tutorial/index.jsx | 1 + 3 files changed, 3 insertions(+) diff --git a/src/components/code-editor/index.jsx b/src/components/code-editor/index.jsx index 005ccb210..6d519fd48 100644 --- a/src/components/code-editor/index.jsx +++ b/src/components/code-editor/index.jsx @@ -30,6 +30,7 @@ const highlightStyle = HighlightStyle.define([ * @param {object} props * @param {string} props.value * @param {(value: string) => void} props.onInput + * @param {any} props.error - Unused at this time * @param {string} props.slug * @param {string} [props.class] */ diff --git a/src/components/controllers/repl/index.jsx b/src/components/controllers/repl/index.jsx index b71d65855..bc561cf95 100644 --- a/src/components/controllers/repl/index.jsx +++ b/src/components/controllers/repl/index.jsx @@ -142,6 +142,7 @@ export function Repl({ code }) { diff --git a/src/components/controllers/tutorial/index.jsx b/src/components/controllers/tutorial/index.jsx index 44d04336b..3254853b7 100644 --- a/src/components/controllers/tutorial/index.jsx +++ b/src/components/controllers/tutorial/index.jsx @@ -187,6 +187,7 @@ export function Tutorial({ html, meta }) {