From bba44ca8e5c43b5e41ff7b55c9b89107bd342283 Mon Sep 17 00:00:00 2001 From: mghisilieri <175352110+mghisilieri@users.noreply.github.com> Date: Thu, 12 Dec 2024 06:27:44 -0800 Subject: [PATCH] Banner alert removed on SCO page and unused 'LastUpdated' component (#33470) --- .../components/MainContent/LastUpdated.jsx | 40 ------------------- src/applications/sco/containers/App.jsx | 18 --------- .../MainContent/LastUpdated.unit.spec.jsx | 12 ------ 3 files changed, 70 deletions(-) delete mode 100644 src/applications/sco/components/MainContent/LastUpdated.jsx delete mode 100644 src/applications/sco/tests/components/MainContent/LastUpdated.unit.spec.jsx diff --git a/src/applications/sco/components/MainContent/LastUpdated.jsx b/src/applications/sco/components/MainContent/LastUpdated.jsx deleted file mode 100644 index bfd8d61a8a3b..000000000000 --- a/src/applications/sco/components/MainContent/LastUpdated.jsx +++ /dev/null @@ -1,40 +0,0 @@ -import React from 'react'; - -const LAST_UPDATED_DATE_TIME = '2024-05-07'; -const LAST_UPDATED_DATE = 'July 15, 2024'; - -const LastUpdated = () => { - const feedbackButtonClicked = () => { - window.KAMPYLE_ONSITE_SDK?.showForm('17'); - }; - - return ( -
-
-
- -

- Last updated:{' '} - -

-
-
-
- - - -
-
-
- ); -}; - -export default LastUpdated; diff --git a/src/applications/sco/containers/App.jsx b/src/applications/sco/containers/App.jsx index 3bfa5ca5f35f..40493c15ba0a 100644 --- a/src/applications/sco/containers/App.jsx +++ b/src/applications/sco/containers/App.jsx @@ -7,24 +7,6 @@ const App = () => { return (
- {/* Delete lines 11 - 25 to rremove alert */} -
- -

- VA is aware of the Chapter 33, 6-credit hour exclusion (6x) - technical issue and is actively working on a solution. We will - keep you informed as we have updates. -

-
-
- {/* Delete lines 11 - 25 to remove alert */} - { - it('renders without crashing', () => { - const tree = shallow(); - expect(tree.exists()).to.be.true; - tree.unmount(); - }); -});