kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Fix soapboxConfig propType errors
rodzic
5cf66dca2c
commit
ef5ceeacfe
|
@ -52,5 +52,5 @@ export default function SitePreview({ soapbox }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
SitePreview.propTypes = {
|
SitePreview.propTypes = {
|
||||||
soapbox: ImmutablePropTypes.map.isRequired,
|
soapbox: ImmutablePropTypes.record.isRequired,
|
||||||
};
|
};
|
||||||
|
|
|
@ -188,7 +188,7 @@ class SwitchingColumnsArea extends React.PureComponent {
|
||||||
children: PropTypes.node,
|
children: PropTypes.node,
|
||||||
location: PropTypes.object,
|
location: PropTypes.object,
|
||||||
onLayoutChange: PropTypes.func.isRequired,
|
onLayoutChange: PropTypes.func.isRequired,
|
||||||
soapbox: ImmutablePropTypes.map.isRequired,
|
soapbox: ImmutablePropTypes.record.isRequired,
|
||||||
features: PropTypes.object.isRequired,
|
features: PropTypes.object.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -399,7 +399,7 @@ class UI extends React.PureComponent {
|
||||||
streamingUrl: PropTypes.string,
|
streamingUrl: PropTypes.string,
|
||||||
account: PropTypes.object,
|
account: PropTypes.object,
|
||||||
features: PropTypes.object.isRequired,
|
features: PropTypes.object.isRequired,
|
||||||
soapbox: ImmutablePropTypes.map.isRequired,
|
soapbox: ImmutablePropTypes.record.isRequired,
|
||||||
vapidKey: PropTypes.string,
|
vapidKey: PropTypes.string,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue