forked from sombochea/verdaccio-ui
Search Component - Replaced class by func. comp (#339)
This commit is contained in:
committed by
GitHub
parent
09b831a40d
commit
6ba721446b
@@ -27,7 +27,6 @@ const StyledBoxContent = styled(Box)({
|
||||
});
|
||||
|
||||
/* eslint-disable react/jsx-max-depth */
|
||||
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
||||
/* eslint-disable react/jsx-no-bind */
|
||||
/* eslint-disable react-hooks/exhaustive-deps */
|
||||
const App: React.FC = () => {
|
||||
|
||||
@@ -9,7 +9,6 @@ interface Props {
|
||||
user?: User;
|
||||
}
|
||||
|
||||
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
||||
/* eslint-disable react-hooks/exhaustive-deps */
|
||||
const AppContextProvider: React.FC<Props> = ({ children, packages, user }) => {
|
||||
const [state, setState] = useState<AppProps>({
|
||||
|
||||
Reference in New Issue
Block a user