import { useContext } from 'react' ; import { HostConfig } from '@opentrons/api-client' ; import { ApiHostContext } from './ApiHostProvider' ; export function useHost ( ) { return useContext ( ApiHostContext ) ; }