diff --git a/example-plugin-app/src/PluginOne.jsx b/example-plugin-app/src/PluginOne.jsx
index d70ab2ef0..35aa08701 100644
--- a/example-plugin-app/src/PluginOne.jsx
+++ b/example-plugin-app/src/PluginOne.jsx
@@ -1,8 +1,10 @@
-import React, {useState, useEffect} from 'react';
+/* eslint react/prop-types: off */
+
+import React from 'react';
import { Plugin } from '@edx/frontend-platform/plugins';
-function Greeting({subject}) {
- return
Hello {subject.toUpperCase()}
+function Greeting({ subject }) {
+ return Hello {subject.toUpperCase()}
;
}
function errorFallback(error) {
@@ -11,7 +13,7 @@ function errorFallback(error) {
Oops! An error occurred. Please refresh the screen to try again.
-
+
{error.message}
);
diff --git a/src/plugins/Plugin.test.jsx b/src/plugins/Plugin.test.jsx
index 65420b2c7..bfef33277 100644
--- a/src/plugins/Plugin.test.jsx
+++ b/src/plugins/Plugin.test.jsx
@@ -110,7 +110,6 @@ describe('Plugin', () => {
);
const { container } = render(component);
- console.log(container.children);
expect(container.firstChild).toHaveTextContent('Something went wrong');
});
});