pull/5008/head
Your Name 4 months ago committed by Aniket
parent b7338680d3
commit 84decf2f18
  1. 2
      apps/learneth/src/pages/StepDetail/index.tsx
  2. 2
      apps/learneth/src/redux/models/workshop.ts

@ -25,7 +25,7 @@ function StepDetailPage() {
const step = steps[stepId]
useEffect(() => {
setClonedStep(null)
const clonedStep = JSON.parse(JSON.stringify(step))
const loadFiles = async () => {
async function loadFile(step, fileType) {

@ -58,7 +58,7 @@ const Model: ModelType = {
const { data } = yield axios.get(url)
const repoId = `${payload.name}-${payload.branch}`
for (let i = 0; i < data.ids.length; i++) {(yield remixClient.call('contentImport', 'resolve', step[key].file)).content
for (let i = 0; i < data.ids.length; i++) {
const {
steps,
metadata: {

Loading…
Cancel
Save