import { createClient } from 'react-fetching-library' ; import { requestHostInterceptor } from './requestInterceptors/requestHostInterceptor' ; const HOST = 'https://private-34f3a-reactapiclient.apiary-mock.com' ; export const Client = createClient ( { requestInterceptors : [ requestHostInterceptor ( HOST ) ] , } ) ;