Skip to content

Commit

Permalink
fix readme hooks section (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taillook authored Jun 18, 2020
1 parent 10edf2d commit 3222d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ Note that you will likely need to subscribe/unsubscribe to changes in order to t
Example:

```js
import React, { useContext, useEffect } from 'react';
import React, { useContext, useEffect, useState } from 'react';
import { CarouselContext } from 'pure-react-carousel';

export function MyComponentUsingContext() {
Expand Down

0 comments on commit 3222d64

Please sign in to comment.