mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-11 07:12:29 +02:00
chore(v2): turn off import/extensions ESLint rule
This commit is contained in:
parent
22b1f66d11
commit
e39d76c40c
3 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
import React, {useState, useCallback, useEffect} from 'react'; // eslint-disable-line no-unused-vars
|
||||
import {useState, useCallback, useEffect} from 'react';
|
||||
|
||||
const useHideableNavbar = hideOnScroll => {
|
||||
const [isNavbarVisible, setIsNavbarVisible] = useState(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue