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 = {
|
||||
soapbox: ImmutablePropTypes.map.isRequired,
|
||||
soapbox: ImmutablePropTypes.record.isRequired,
|
||||
};
|
||||
|
|
|
@ -188,7 +188,7 @@ class SwitchingColumnsArea extends React.PureComponent {
|
|||
children: PropTypes.node,
|
||||
location: PropTypes.object,
|
||||
onLayoutChange: PropTypes.func.isRequired,
|
||||
soapbox: ImmutablePropTypes.map.isRequired,
|
||||
soapbox: ImmutablePropTypes.record.isRequired,
|
||||
features: PropTypes.object.isRequired,
|
||||
};
|
||||
|
||||
|
@ -399,7 +399,7 @@ class UI extends React.PureComponent {
|
|||
streamingUrl: PropTypes.string,
|
||||
account: PropTypes.object,
|
||||
features: PropTypes.object.isRequired,
|
||||
soapbox: ImmutablePropTypes.map.isRequired,
|
||||
soapbox: ImmutablePropTypes.record.isRequired,
|
||||
vapidKey: PropTypes.string,
|
||||
};
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue