Something went wrong. Try again.
source dump of claude code forked from oppi.li/claude-code
Something went wrong. Try again.
251 B · 8 lines
TypeScript
at main
123456789import { useContext } from 'react'import AppContext from '../components/AppContext.js'
/** * `useApp` is a React hook, which exposes a method to manually exit the app (unmount). */const useApp = () => useContext(AppContext)export default useApp