From e666419a8f96f2d1e747a5b4f02a243f93599d0e Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Mon, 12 Oct 2020 00:19:13 +0530 Subject: [PATCH] fix(client): address new warnings from linter --- client/src/assets/icons/CertificationIcon.js | 12 ++++++------ client/src/client-only-routes/ShowSettings.js | 2 +- client/src/components/Flash/index.js | 2 +- client/src/components/Footer/index.js | 2 +- client/src/components/layouts/Certification.js | 2 +- .../Challenges/components/PrismFormatted.js | 2 +- client/src/templates/Challenges/video/Show.js | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/client/src/assets/icons/CertificationIcon.js b/client/src/assets/icons/CertificationIcon.js index 00aeff4406..0d7dc9edb3 100644 --- a/client/src/assets/icons/CertificationIcon.js +++ b/client/src/assets/icons/CertificationIcon.js @@ -16,11 +16,11 @@ function CertificationIcon() { + /> + /> @@ -29,7 +29,7 @@ function CertificationIcon() { fillOpacity='0' opacity='1' xlinkHref='#aZt9D86Ps' - > + /> + /> @@ -47,7 +47,7 @@ function CertificationIcon() { fillOpacity='0' opacity='1' xlinkHref='#b7LyrCUAE' - > + /> + /> diff --git a/client/src/client-only-routes/ShowSettings.js b/client/src/client-only-routes/ShowSettings.js index bd0db6cc84..e6ade34b0f 100644 --- a/client/src/client-only-routes/ShowSettings.js +++ b/client/src/client-only-routes/ShowSettings.js @@ -173,7 +173,7 @@ export function ShowSettings(props) { return ( - +
diff --git a/client/src/components/Flash/index.js b/client/src/components/Flash/index.js index 6628ba3b4b..eb6e4bcdb8 100644 --- a/client/src/components/Flash/index.js +++ b/client/src/components/Flash/index.js @@ -42,7 +42,7 @@ function Flash({ flashMessage, onClose }) { style={{ height: flashMessageHeight + 'px' }} - > + /> )} ); diff --git a/client/src/components/Footer/index.js b/client/src/components/Footer/index.js index 56c6ef210b..d5946ef9fb 100644 --- a/client/src/components/Footer/index.js +++ b/client/src/components/Footer/index.js @@ -294,7 +294,7 @@ function Footer() {
Our Nonprofit
-
+
- + {children} ); diff --git a/client/src/templates/Challenges/components/PrismFormatted.js b/client/src/templates/Challenges/components/PrismFormatted.js index 9c4aa4d077..1cf60a2812 100644 --- a/client/src/templates/Challenges/components/PrismFormatted.js +++ b/client/src/templates/Challenges/components/PrismFormatted.js @@ -27,7 +27,7 @@ class PrismFormatted extends Component { className={className} dangerouslySetInnerHTML={{ __html: text }} ref={this.instructionsRef} - >
+ /> ); } } diff --git a/client/src/templates/Challenges/video/Show.js b/client/src/templates/Challenges/video/Show.js index 5b27aed1b3..a6a11ba000 100644 --- a/client/src/templates/Challenges/video/Show.js +++ b/client/src/templates/Challenges/video/Show.js @@ -243,7 +243,7 @@ export class Project extends Component { />{' '} {this.state.selectedOption === index ? ( - + ) : null}