diff --git a/src/App.tsx b/src/App.tsx index 4190bee..44d4f06 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -18,7 +18,7 @@ import { CourseContentPage } from './refactor/pages/CourseContent' import { PathActivationDebugPage } from './refactor/pages/PathActivationDebug' // CodeRunner重构版本 (使用refactor目录下的) -import { IntegratedCodeRunner } from './refactor/components/features/CodeRunner' +import { IntegratedCodeRunner, RuntimeProvider } from './refactor/components/features/CodeRunner' type AppView = 'landing' | 'profile' | 'dashboard' | 'profile-settings' | 'refactor-assessment' | 'refactor-goal-management' | 'refactor-path-planning' | @@ -178,15 +178,17 @@ const App = () => { case 'refactor-code-runner': return ( -
- + + +
)