diff --git a/README.md b/README.md index 8496976d6a931..9d203e221c068 100644 --- a/README.md +++ b/README.md @@ -238,7 +238,7 @@ The file node can then be queried using GraphQL. See an example of this in the [ #### Retrieving the remote file name and extension -The helper tries first to retrieve the file name and extension by parsing the url and the path provided (e.g. if the url is https://example.com/image.jpg, the extension will be inferred as `.jpg` and the name as `image`). If the url does not contain an extension, we use the [`file-type`](https://www.npmjs.com/package/file-type) package to infer the file type. Finally, the name and the extension _can_ be explicitly passed, like so: +The helper tries first to retrieve the file name and extension by parsing the url and the path provided (e.g. if the url is `https://example.com/image.jpg`, the extension will be inferred as `.jpg` and the name as `image`). If the url does not contain an extension, we use the [`file-type`](https://www.npmjs.com/package/file-type) package to infer the file type. Finally, the name and the extension _can_ be explicitly passed, like so: ```javascript createRemoteFileNode({