diff --git a/src/components/atoms/Icon/Icon.js b/src/components/atoms/Icon/Icon.js
index 228cda2d..f003e042 100644
--- a/src/components/atoms/Icon/Icon.js
+++ b/src/components/atoms/Icon/Icon.js
@@ -2,7 +2,6 @@ export default class Icon extends HTMLElement {
constructor() {
// Always call super first in constructor
super();
-
// Create a shadow root.
this.attachShadow({ mode: 'open' });
}
@@ -13,9 +12,7 @@ export default class Icon extends HTMLElement {
}
// Icon attributes
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line prefer-const
- let icon = this.getAttribute('data-icon');
+ const icon = this.getAttribute('data-icon');
let size = this.getAttribute('data-size');
switch (size) {
case 'small':
@@ -73,106 +70,62 @@ export default class Icon extends HTMLElement {
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
case 'house-fill':
return `
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
case 'exclamation-circle':
return `
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
case 'exclamation-circle-fill':
return `
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
case 'exclamation-triangle':
return `
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
case 'check-circle':
return `
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
case 'check-circle-fill':
return `
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
case 'calendar':
return `
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
case 'calendar-fill':
return `
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
case 'calendar-date':
return `
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
case 'calendar-date-fill':
return `
`;
- // TODO: See CityOfDetroit/detroitmi#1099
- // eslint-disable-next-line no-unreachable
- break;
-
default:
break;
}