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