pull/5008/head
Your Name 7 months ago committed by Aniket
parent 5f2e627b04
commit e60353cb14
  1. 1
      apps/learneth/src/pages/StepDetail/index.tsx

@ -30,7 +30,6 @@ function StepDetailPage() {
const loadFiles = async () => { const loadFiles = async () => {
async function loadFile(step, fileType) { async function loadFile(step, fileType) {
if (step[fileType] && step[fileType].file && !step[fileType].content) { if (step[fileType] && step[fileType].file && !step[fileType].content) {
remixClient.call('terminal', 'log', { type: 'log', value: `loading ${step[fileType].file}...` });
clonedStep[fileType].content = (await remixClient.call('contentImport', 'resolve', step[fileType].file)).content; clonedStep[fileType].content = (await remixClient.call('contentImport', 'resolve', step[fileType].file)).content;
} }
} }

Loading…
Cancel
Save