Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add quote list #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add quote list #15

wants to merge 1 commit into from

Conversation

kukaro
Copy link
Contributor

@kukaro kukaro commented May 24, 2019

No description provided.

this.setState({
searchData: data
})
};
Copy link
Contributor

Choose a reason for hiding this comment

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

; <- 린트에 걸리지 않나요 ??

return <span>{this.props.quote.data}</span>;
}
};

Copy link
Contributor

Choose a reason for hiding this comment

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

const { quote, searchStrung } = this.props;

와 같이 해준다면 더 코드가 간결해 질것 같습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

오 맞네요


class QuoteListItem extends Component {
state = {};

Copy link
Contributor

Choose a reason for hiding this comment

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

사용하지 않는 state라면 없어도 괜찮을것 같습니다.

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