diff --git a/frontend/src/component/application/__tests__/__snapshots__/application-edit-component-test.js.snap b/frontend/src/component/application/__tests__/__snapshots__/application-edit-component-test.js.snap index bf0c1bff96..ac44894f3a 100644 --- a/frontend/src/component/application/__tests__/__snapshots__/application-edit-component-test.js.snap +++ b/frontend/src/component/application/__tests__/__snapshots__/application-edit-component-test.js.snap @@ -278,44 +278,16 @@ exports[`renders correctly with permissions 1`] = `
- - - - - - - - - +
ToggleB @@ -443,6 +420,11 @@ exports[`renders correctly with permissions 1`] = ` aria-hidden={true} className="MuiSvgIcon-root" focusable="false" + style={ + Object { + "color": "red", + } + } viewBox="0 0 24 24" > - + {name}} @@ -59,19 +58,13 @@ function ApplicationView({ const foundListItem = ({ viewUrl, name, - showSwitch, - enabled, description, + Icon, i, }) => ( - } - elseShow={} - /> + {seenToggles.map( ( - { name, description, enabled, notFound, project }, + { name, description, notFound, project }, i ) => ( @@ -135,7 +127,7 @@ function ApplicationView({ elseShow={foundListItem({ viewUrl: '/strategies/view', name, - showSwitch: false, + Icon: Extension, enabled: undefined, description, i,