Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ffe65fc

Browse files
authored
Update exported and imported functions in the comments of Exercise 1 (#36)
1 parent 5e48a67 commit ffe65fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/exercise/01.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ function useUser() {
7777
// Then go down to the `handleSubmit` from `UserSettings` and put that logic in
7878
// this function. It should accept: dispatch, user, and updates
7979

80-
// export {UserProvider, useUserState}
80+
// export {UserProvider, useUser}
8181

8282
// src/screens/user-profile.js
83-
// import {UserProvider, useUserState} from './context/user-context'
83+
// import {UserProvider, useUser} from './context/user-context'
8484
function UserSettings() {
8585
const [{user, status, error}, userDispatch] = useUser()
8686

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /