0
I have created this:
const funcionarioReducer = (state = [], action) => {
    switch(action.type) {
      case 'ADD_FUNCIONARIO':
        return state.concat([action.data]);
      default:
        return state;
    }
}
export default funcionarioReducer;
I try to import it in index.js to create a store:
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import { createStore } from 'redux';
import { Provider } from 'react-redux';
import { funcionarioReducer } from './reducers/funcionarioReducer';
const store = createStore(funcionarioReducer);
ReactDOM.render(
    <Provider store={store}>
    <App />
    </Provider>, document.getElementById('root')
)
But when I run the project I get:
Attempted import error: 'funcioReducer' is not Exported from '. /reducers/functionReducer'.
I’m studying as a base this tutorial, from what I realize I’m doing exactly the same as what it specifies, but I keep getting this error.