()
| 4 | import { Context } from '../context' |
| 5 | |
| 6 | export function useClient(): SupabaseClient { |
| 7 | const client = useContext(Context) |
| 8 | if (client === undefined) |
| 9 | throw Error('No client has been specified using Provider.') |
| 10 | return client |
| 11 | } |
no outgoing calls
no test coverage detected