Remove WebContainers

This commit is contained in:
Alex Gleason committed 2025-09-07 21:07:42 -05:00
1 parent 26635a4b6a
commit d49c52a8d8
9 files changed
+4 -281

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
import { useContext } from 'react';
import { JSRuntimeContext, type JSRuntimeContextType } from '@/contexts/JSRuntimeContext';
/**
* Hook to access the JavaScript runtime
* @returns JSRuntime context with runtime instance
*/
export function useJSRuntime(): JSRuntimeContextType {
const context = useContext(JSRuntimeContext);
if (context === undefined) {
throw new Error('useJSRuntime must be used within a JSRuntimeProvider');
}
return context;
}