diff --git a/code/13-finished/src/store/auth-context.js b/code/13-finished/src/store/auth-context.js index 815fa0651a..54a8b4b0d3 100644 --- a/code/13-finished/src/store/auth-context.js +++ b/code/13-finished/src/store/auth-context.js @@ -3,7 +3,7 @@ import React, { useState, useEffect } from 'react'; const AuthContext = React.createContext({ isLoggedIn: false, onLogout: () => {}, - onLogin: (email, password) => {} + onLogin: (email, password) => {} //two parameters (email and password) are there just for understanding and not used in the logic below }); export const AuthContextProvider = (props) => {