Extract State Logic to Redux ,some problem

Tell us what’s happening:
lt can’t pass

Your code so far

// define ADD, addMessage(), messageReducer(), and store here:
const ADD = 'ADD';

function addMessage (msg) {
  return {
    type: ADD,
    message: msg
const messageReducer = (state = [], action) => {
  switch (action.type) {
    case ADD: return [...state,action.meesage]
      return state;
const store = Redux.createStore(messageReducer);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

Link to the challenge:

I did it,it’s a small err.