import { combineReducers } from "redux"

import user from "./user"

const rootReducer = combineReducers({
  user,
})

export default rootReducer

import { combineReducers } from "redux"

import user from "./user"
import idea from "./idea"

const rootReducer = combineReducers({
  user,
  idea,
})

export default rootReducer

Add idea reducer to root reducer
Add idea reducer to root reducer
