# 'React' is defined but never used in React Functional Component v 16.14 (Mastering React 16)

**URL:** https://forum.codewithmosh.com/t/react-is-defined-but-never-used-in-react-functional-component-v-16-14-mastering-react-16/19482
**Category:** React
**Created:** [April 10, 2023, 2:22am UTC](https://forum.codewithmosh.com/t/react-is-defined-but-never-used-in-react-functional-component-v-16-14-mastering-react-16/19482 "2023-04-10T02:22:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mishagos](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mishagos](https://forum.codewithmosh.com/u/mishagos)
#### Post date: [April 10, 2023, 2:22am UTC](https://forum.codewithmosh.com/t/react-is-defined-but-never-used-in-react-functional-component-v-16-14-mastering-react-16/19482/1 "2023-04-10T02:22:03Z")

</div>

I keep getting a warning in my terminal that

src/pagination.jsx  
Line 1:8: ‘React’ is defined but never used no-unused-vars

I have looked for a solution to this, [javascript - ESLint with React gives `no-unused-vars` errors - Stack Overflow](https://stackoverflow.com/questions/42541559/eslint-with-react-gives-no-unused-vars-errors) but it doesn’t give me the location of the file I’m supposed to change and I can’t find it … or is there an easier solution to this?

Thanks
