From 9b9150524cbdacf293820f975a73f055f083b92b Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 5 Nov 2020 22:16:19 +0300 Subject: [PATCH] doc: fix example in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 487387d..1a831ed 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ import React from 'react'; import ReactDOM from 'react-dom'; import { Client, Endpoint, Method, useRequest, RequestProvider } from 'react-rest-request'; -const client = Client({ +const client = new Client({ baseUrl: 'https://sampleapis.com/movies/api', });