Add empty string tag for Callback operations

This commit is contained in:
Kyle Shockey
2017-11-17 16:15:43 -08:00
parent b61cf558f3
commit f44dfebd2a

View File

@@ -1,5 +1,6 @@
import React from "react" import React from "react"
import PropTypes from "prop-types" import PropTypes from "prop-types"
import ImPropTypes from "react-immutable-proptypes"
import { fromJS } from "immutable" import { fromJS } from "immutable"
const Callbacks = (props) => { const Callbacks = (props) => {
@@ -24,6 +25,7 @@ const Callbacks = (props) => {
{...props} {...props}
op={op} op={op}
key={method} key={method}
tag={""}
method={method} method={method}
path={pathItemName} path={pathItemName}
allowTryItOut={false} allowTryItOut={false}
@@ -40,7 +42,7 @@ const Callbacks = (props) => {
Callbacks.propTypes = { Callbacks.propTypes = {
getComponent: PropTypes.func.isRequired, getComponent: PropTypes.func.isRequired,
callbacks: PropTypes.array.isRequired callbacks: ImPropTypes.iterable.isRequired
} }