From ad316e0912f1347c786bad04d756c640288346f8 Mon Sep 17 00:00:00 2001 From: Curtis ROck Date: Wed, 22 Jul 2020 21:50:41 -0500 Subject: [PATCH] fix linter errors --- app/soapbox/features/configuration/index.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/soapbox/features/configuration/index.js b/app/soapbox/features/configuration/index.js index 7b01da0be..fabfa6225 100644 --- a/app/soapbox/features/configuration/index.js +++ b/app/soapbox/features/configuration/index.js @@ -16,7 +16,7 @@ import { import StillImage from 'soapbox/components/still_image'; import { Map as ImmutableMap, - List as ImmutableList, + // List as ImmutableList, } from 'immutable'; import { patchMe } from 'soapbox/actions/me'; import { unescape } from 'lodash'; @@ -54,13 +54,6 @@ const mapStateToProps = state => { }; }; -// HTML unescape for special chars, eg
-const unescapeParams = (map, params) => ( - params.reduce((map, param) => ( - map.set(param, unescape(map.get(param))) - ), map) -); - export default @connect(mapStateToProps) // export default @connect() @injectIntl