Tell us what’s happening:
type : 'LOGIN'
}
This code works to pass check points but this isn’t giving the motive of redux. It passes the check points only.
But i just wrote what was asked in check points to clear that like :
An action object should exist.
The action should have a key property type with valueLOGIN
.
Thats what i provided ! Please provide me some suggestion because i don’t think this is right.
Your code so far
// Define an action here:
const action = {
type : 'LOGIN'
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
.
Challenge: Define a Redux Action
Link to the challenge: