「You must pass a component to the function returned by connect. Instead received」エラー対応

不慣れで相変わらず細かい事にはまってる。1つずつメモしていくしかない。コンテナとかコンポーネントとかはReactの勉強中なのでReactのそれ。ただ今回は単純にJavaScriptの使い方の問題だった。

エラーメッセージ

You must pass a component to the function returned by connect. Instead received undefined.
問題のコード

コンテナ(呼ぶ側)

・・・
import { user } from './components/user' // ★ここでエラーになってる
・・・

コンポーネント(呼ばれる側)

import React from 'redux'
class User extends React.Component {
  render() {
    return (
      <div />
    )
  }
}
export default User
解決作

コンテナ(呼ぶ側)

・・・
import user from './components/user' // 中括弧とる
・・・

以上です