Hi @thearvindnarayan
, great article indeed! One thing that i think might have been a mistake is in Router.js line 4: we need to pass role instead of userRole to the checkAccess() method. Other than that, i found this article to be really simple and well explained. Keep up the amazing work! Kudos ๐๐
Hi @thearvindnarayan , great article indeed! One thing that i think might have been a mistake is in
Router.js
line 4: we need to passrole
instead ofuserRole
to thecheckAccess()
method. Other than that, i found this article to be really simple and well explained. Keep up the amazing work! Kudos ๐๐Thanks Krishna for pointing it out. It flew under the radar! and thanks for the appreciation