From b528293f00e732081052722db140c7818153f97f Mon Sep 17 00:00:00 2001 From: Abbas Dahodwala <68743779+abbas-dhd@users.noreply.github.com> Date: Mon, 22 Aug 2022 18:00:32 +0530 Subject: [PATCH] added a comment for better understandability added an extra comment - when a user is reading the code without the context of the video(module10 => video 17), confusion can be avoided --- code/13-finished/src/store/auth-context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {