From fb72e030d4762a416fb398d949a37105c790eeef Mon Sep 17 00:00:00 2001 From: Pavel Fomchenkov Date: Sun, 4 Oct 2020 00:22:01 +0200 Subject: [PATCH] Update exported and imported functions in the comments of Exercise 1 --- src/exercise/01.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exercise/01.js b/src/exercise/01.js index 397ae814..787602b8 100644 --- a/src/exercise/01.js +++ b/src/exercise/01.js @@ -77,10 +77,10 @@ function useUser() { // Then go down to the `handleSubmit` from `UserSettings` and put that logic in // this function. It should accept: dispatch, user, and updates -// export {UserProvider, useUserState} +// export {UserProvider, useUser} // src/screens/user-profile.js -// import {UserProvider, useUserState} from './context/user-context' +// import {UserProvider, useUser} from './context/user-context' function UserSettings() { const [{user, status, error}, userDispatch] = useUser()