diff --git a/webapp/package.json b/webapp/package.json index c8f2657..974771a 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -76,6 +76,9 @@ "redux": "4.0.5", "typescript": "4.2.4" }, + "resolutions": { + "@types/react": "17.0.3" + }, "jest": { "snapshotSerializers": [ "/node_modules/enzyme-to-json/serializer" diff --git a/webapp/src/components/rhs/all_badges_row.tsx b/webapp/src/components/rhs/all_badges_row.tsx index a8d56bc..9c25719 100644 --- a/webapp/src/components/rhs/all_badges_row.tsx +++ b/webapp/src/components/rhs/all_badges_row.tsx @@ -3,7 +3,7 @@ import React from 'react'; import {FormattedMessage} from 'react-intl'; import {AllBadgesBadge} from '../../types/badges'; -import BadgeImage from '../utils/badge_image'; +import BadgeImage from '../badge_image/badge_image'; import {markdown} from 'utils/markdown'; import './all_badges_row.scss'; diff --git a/webapp/src/components/rhs/rhs_scrollbars.tsx b/webapp/src/components/rhs/rhs_scrollbars.tsx index f393bd9..1db87b1 100644 --- a/webapp/src/components/rhs/rhs_scrollbars.tsx +++ b/webapp/src/components/rhs/rhs_scrollbars.tsx @@ -26,7 +26,7 @@ function renderThumbVertical(props: any) { />); } -const RHSScrollbars = ({children}: {children: React.ReactNode[]}) => { +const RHSScrollbars = ({children}: {children: React.ReactNode}) => { return (