Skip to content

fix(ProductDetail): Default exports (only one per script)#34

Open
chenyunchen wants to merge 1 commit intocoodoo:masterfrom
chenyunchen:master
Open

fix(ProductDetail): Default exports (only one per script)#34
chenyunchen wants to merge 1 commit intocoodoo:masterfrom
chenyunchen:master

Conversation

@chenyunchen
Copy link

No description provided.

import { fetchNeeds } from '../utils/fetchComponentData';

export default class ProductDetail extends Component {
export class ProductDetail extends Component {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can actually remove the export as well. Only the redux connected version needs to be exposed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants