From 565489af95ed2b5ef039b3920f3d5d8652ece770 Mon Sep 17 00:00:00 2001 From: chenyunchen Date: Mon, 29 Aug 2016 06:09:44 +0800 Subject: [PATCH] fix(ProductDetail): Default exports (only one per script) --- common/components/ProductDetail.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/components/ProductDetail.jsx b/common/components/ProductDetail.jsx index 1868a73..ca8c8f3 100755 --- a/common/components/ProductDetail.jsx +++ b/common/components/ProductDetail.jsx @@ -5,7 +5,7 @@ import * as ShopActions from '../actions/ShopActions'; import { Link } from 'react-router'; import { fetchNeeds } from '../utils/fetchComponentData'; -export default class ProductDetail extends Component { +export class ProductDetail extends Component { static needs = [ ShopActions.readOne