diff --git a/example-plugin-app/src/PluginOne.jsx b/example-plugin-app/src/PluginOne.jsx index d70ab2ef0..1f0605528 100644 --- a/example-plugin-app/src/PluginOne.jsx +++ b/example-plugin-app/src/PluginOne.jsx @@ -1,8 +1,9 @@ -import React, {useState, useEffect} from 'react'; +import React from 'react'; import { Plugin } from '@edx/frontend-platform/plugins'; -function Greeting({subject}) { - return
Hello {subject.toUpperCase()}
+/* istanbul ignore next */ +function Greeting({ subject }) { + return
Hello {subject.toUpperCase()}
; } function errorFallback(error) { @@ -11,7 +12,7 @@ function errorFallback(error) {

Oops! An error occurred. Please refresh the screen to try again.

-
+
{error.message} );