kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
fix linter errors
rodzic
34c87bca7e
commit
ad316e0912
|
@ -16,7 +16,7 @@ import {
|
||||||
import StillImage from 'soapbox/components/still_image';
|
import StillImage from 'soapbox/components/still_image';
|
||||||
import {
|
import {
|
||||||
Map as ImmutableMap,
|
Map as ImmutableMap,
|
||||||
List as ImmutableList,
|
// List as ImmutableList,
|
||||||
} from 'immutable';
|
} from 'immutable';
|
||||||
import { patchMe } from 'soapbox/actions/me';
|
import { patchMe } from 'soapbox/actions/me';
|
||||||
import { unescape } from 'lodash';
|
import { unescape } from 'lodash';
|
||||||
|
@ -54,13 +54,6 @@ const mapStateToProps = state => {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
// HTML unescape for special chars, eg <br>
|
|
||||||
const unescapeParams = (map, params) => (
|
|
||||||
params.reduce((map, param) => (
|
|
||||||
map.set(param, unescape(map.get(param)))
|
|
||||||
), map)
|
|
||||||
);
|
|
||||||
|
|
||||||
export default @connect(mapStateToProps)
|
export default @connect(mapStateToProps)
|
||||||
// export default @connect()
|
// export default @connect()
|
||||||
@injectIntl
|
@injectIntl
|
||||||
|
|
Ładowanie…
Reference in New Issue