Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

use-web-container.ts

7 lines226 Bytes

1import { useContext } from 'react'
2import { WebContainerContext } from '../components/web-container-provider'
3​
4export function useWebContainer() {
5 const webContainer = useContext(WebContainerContext)
6 return webContainer
7}