where checkAuth() is used?
nicolasflorth opened this issue · comments
Nicolas Florth commented
Hi Moeen,
In js/modules/auth/store/reducer.js is a function checkAuth. Tell me please where this is used?
I can't find it anywhere.
I see is at the top at the file as return checkAuth(state); but where on the service.js it should be used?
Thanks!
JacekK commented
It is used in here: https://github.com/moeen-basra/laravel-react/blob/master/resources/assets/js/app.js#L22 when the app is starting.