From bd5c152df61bd733bb467d560e9166bb4b009e1a Mon Sep 17 00:00:00 2001 From: Lukasz Ostafin Date: Thu, 5 Dec 2024 09:51:43 +0100 Subject: [PATCH] After CR --- package.json | 4 +++- src/bundle/ui-dev/src/modules/common/thumbnail/thumbnail.tsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 920e01c39b..52f53f548d 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "dependencies": {}, "devDependencies": { "eslint-config-ibexa": "https://github.com/ibexa/eslint-config-ibexa.git#IBX-9109-enabling-typescript", - "@ibexa/ts-config": "https://github.com/ibexa/ts-config-ibexa#IBX-9109-enabling-typescript" + "@ibexa/ts-config": "https://github.com/ibexa/ts-config-ibexa#IBX-9109-enabling-typescript", + "@types/react": "^18.3.11", + "@types/react-dom": "^18.3.1" }, "scripts": { "test": "yarn prettier-test && yarn eslint-test", diff --git a/src/bundle/ui-dev/src/modules/common/thumbnail/thumbnail.tsx b/src/bundle/ui-dev/src/modules/common/thumbnail/thumbnail.tsx index c41f101a8c..3e1e8e653a 100644 --- a/src/bundle/ui-dev/src/modules/common/thumbnail/thumbnail.tsx +++ b/src/bundle/ui-dev/src/modules/common/thumbnail/thumbnail.tsx @@ -2,7 +2,7 @@ import React from 'react'; import Icon from '../icon/icon'; import ThumbnailProps from './thumbnail.types'; -const Thumbnail = ({ thumbnailData, iconExtraClasses, contentTypeIconPath }: ThumbnailProps): React.JSX.Element => { +const Thumbnail = ({ thumbnailData, iconExtraClasses, contentTypeIconPath }: ThumbnailProps) => { const renderContentTypeIcon = (): React.JSX.Element | null => { if (!contentTypeIconPath) { return null;