src/containers/OasisTakeOfferModal.jsx
OasisTakeOfferModalWrapper
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export class OasisTakeOfferModalWrapper extends PureComponent {
static takeOfferBtnLabel(offerTakeType, { buyToken, sellToken }) {
switch (offerTakeType) {
case TAKE_SELL_OFFER:
return `Buy ${buyToken}`;
- Create a ticketCreate a ticket
Function render
has 74 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
render() {
const {
offerTakeType,
sellToken,
buyToken,
- Create a ticketCreate a ticket