This commit is contained in:
onebeastchris committed 2024-12-04 00:26:20 +08:00
1 parent 5641161aa8
commit 06f12d2248
5 files changed
+8 -33

No files matched your search

+1 -2
View File
@@ -8,7 +8,6 @@ import { useEffect, useState } from 'react'
import { StepData } from './StepProps'
import MarkDownStep from './steps/MarkDownStep'
import Test from './steps/md/Test.mdx'
// React components for each step
const stepComponents = [
@@ -26,7 +25,7 @@ let steps = Object.fromEntries(stepComponents.map((Component) => [formatStepName
// Add the markdown steps
steps = {
test: MarkDownStep(Test),
//test: MarkDownStep(Test),
...steps
}
@@ -1,2 +0,0 @@
I am step test<br />
<button onClick={() => props.destinations.error({...props.data, path: [...props.data.path, props.step]})}>Go to error</button>