1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-19 09:36:30 +07:00

Search Component - Replaced class by func. comp (#339)

This commit is contained in:
Priscila Oliveira
2019-12-04 17:09:02 +01:00
committed by GitHub
parent 09b831a40d
commit 6ba721446b
18 changed files with 449 additions and 483 deletions

View File

@@ -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>({