diff --git a/frontend/package.json b/frontend/package.json index eade783a19..8c25343afa 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -89,7 +89,7 @@ "redux-thunk": "2.4.1", "sass": "1.44.0", "swr": "1.0.1", - "typescript": "4.5.2", + "typescript": "4.5.3", "web-vitals": "2.1.2" }, "jest": { 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, diff --git a/frontend/yarn.lock b/frontend/yarn.lock index a0dd816fa0..cd10576188 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -12467,10 +12467,10 @@ typedarray@^0.0.6: resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@4.5.2: - version "4.5.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998" - integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw== +typescript@4.5.3: + version "4.5.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.3.tgz#afaa858e68c7103317d89eb90c5d8906268d353c" + integrity sha512-eVYaEHALSt+s9LbvgEv4Ef+Tdq7hBiIZgii12xXJnukryt3pMgJf6aKhoCZ3FWQsu6sydEnkg11fYXLzhLBjeQ== unbox-primitive@^1.0.0: version "1.0.1"