We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4a88e6 commit 36e97d2Copy full SHA for 36e97d2
packages/mdx/src/mdx-client/slots.tsx
@@ -18,9 +18,8 @@ function InnerCodeSlot({ editorStep, setFocus }) {
18
const onTabClick = (filename: string) => {
19
setFocus({ fileName: filename, focus: null, id: "" })
20
}
21
- return (
22
- <InnerCode {...editorStep} onTabClick={onTabClick} />
23
- )
+ const { preset, presetConfig, ...props } = editorStep
+ return <InnerCode {...props} onTabClick={onTabClick} />
24
25
export function PreviewSlot() {
26
const context = React.useContext(StaticStepContext)
0 commit comments