From 71119ec695727e7279226e6953803c08a2dd586d Mon Sep 17 00:00:00 2001 From: Nell Hardcastle Date: Thu, 7 Sep 2023 21:09:22 -0700 Subject: [PATCH] fix: TypeScript upgrade build fixes for 5.1.0 --- .pnp.cjs | 8 ++++---- .../scripts/dataset/mutations/delete-dataset-form.jsx | 1 - .../src/scripts/dataset/mutations/metadata-form.jsx | 1 - .../src/scripts/search/__helpers__/search-render.tsx | 1 - packages/openneuro-cli/src/transferKey.js | 1 - packages/openneuro-components/package.json | 2 +- .../src/activity-slider/ActivitySlider.tsx | 1 + yarn.lock | 10 +++++----- 8 files changed, 11 insertions(+), 14 deletions(-) diff --git a/.pnp.cjs b/.pnp.cjs index 37830735b7..3f74da977d 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -4972,7 +4972,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["prop-types", "npm:15.7.2"],\ ["react", "npm:17.0.2"],\ ["react-dom", "virtual:bb4ed02b339ed801b02d2ec15b42a5aa7b1afdaf44119aefaab128a59d6e16cc6018880c169f24bf2107550e914562ee9e1780db01a12e1bc3c492ad0a049c36#npm:17.0.2"],\ - ["react-multi-carousel", "npm:2.6.5"],\ + ["react-multi-carousel", "npm:2.8.4"],\ ["react-router-dom", "virtual:bb4ed02b339ed801b02d2ec15b42a5aa7b1afdaf44119aefaab128a59d6e16cc6018880c169f24bf2107550e914562ee9e1780db01a12e1bc3c492ad0a049c36#npm:6.3.0"],\ ["react-usestateref", "virtual:bb4ed02b339ed801b02d2ec15b42a5aa7b1afdaf44119aefaab128a59d6e16cc6018880c169f24bf2107550e914562ee9e1780db01a12e1bc3c492ad0a049c36#npm:1.0.5"],\ ["sass", "npm:1.42.1"],\ @@ -19245,10 +19245,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["react-multi-carousel", [\ - ["npm:2.6.5", {\ - "packageLocation": "./.yarn/cache/react-multi-carousel-npm-2.6.5-037d977936-2ba44029a8.zip/node_modules/react-multi-carousel/",\ + ["npm:2.8.4", {\ + "packageLocation": "./.yarn/cache/react-multi-carousel-npm-2.8.4-e0619af128-ed4d95630f.zip/node_modules/react-multi-carousel/",\ "packageDependencies": [\ - ["react-multi-carousel", "npm:2.6.5"],\ + ["react-multi-carousel", "npm:2.8.4"],\ ["react", "npm:17.0.2"]\ ],\ "linkType": "HARD"\ diff --git a/packages/openneuro-app/src/scripts/dataset/mutations/delete-dataset-form.jsx b/packages/openneuro-app/src/scripts/dataset/mutations/delete-dataset-form.jsx index 32ffbccc54..75c75e7473 100644 --- a/packages/openneuro-app/src/scripts/dataset/mutations/delete-dataset-form.jsx +++ b/packages/openneuro-app/src/scripts/dataset/mutations/delete-dataset-form.jsx @@ -57,7 +57,6 @@ const DeleteDatasetForm = ({ values, onChange, hasEdit }) => ( }, i, ) => ( - // @ts-expect-error ( - // @ts-expect-error

{slideHeader}

+ {/* @ts-expect-error */}