mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Fix React warnings
This commit is contained in:
parent
f2f775f20c
commit
1fc1337207
@ -223,7 +223,11 @@ let EditionSummary = React.createClass({
|
||||
let CoaDetails = React.createClass({
|
||||
propTypes: {
|
||||
editionId: React.PropTypes.string,
|
||||
coa: React.PropTypes.object,
|
||||
coa: React.PropTypes.oneOfType([
|
||||
React.PropTypes.number,
|
||||
React.PropTypes.string,
|
||||
React.PropTypes.object
|
||||
]),
|
||||
coaError: React.PropTypes.object
|
||||
},
|
||||
|
||||
|
@ -81,8 +81,11 @@ let MediaContainer = React.createClass({
|
||||
embed = (
|
||||
<CollapsibleButton
|
||||
button={
|
||||
<Button bsSize="xsmall" className="ascribe-margin-1px" disabled={isEmbedDisabled ? '"disabled"' : ''}>
|
||||
Embed
|
||||
<Button
|
||||
bsSize="xsmall"
|
||||
className="ascribe-margin-1px"
|
||||
disabled={isEmbedDisabled}>
|
||||
{getLangText('Embed')}
|
||||
</Button>
|
||||
}
|
||||
panel={
|
||||
|
Loading…
Reference in New Issue
Block a user