From 7ebee9a69a58b36adb5a7d4f94137419dca725c6 Mon Sep 17 00:00:00 2001 From: tienifr Date: Wed, 21 Feb 2024 02:23:05 +0700 Subject: [PATCH] fix lint --- .../VideoPlayerThumbnail.js | 39 +++++++++---------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/src/components/VideoPlayerPreview/VideoPlayerThumbnail.js b/src/components/VideoPlayerPreview/VideoPlayerThumbnail.js index 1e7615ad20fd..8d50ea076748 100644 --- a/src/components/VideoPlayerPreview/VideoPlayerThumbnail.js +++ b/src/components/VideoPlayerPreview/VideoPlayerThumbnail.js @@ -5,11 +5,11 @@ import Icon from '@components/Icon'; import * as Expensicons from '@components/Icon/Expensicons'; import Image from '@components/Image'; import PressableWithoutFeedback from '@components/Pressable/PressableWithoutFeedback'; +import {ShowContextMenuContext, showContextMenuForReport} from '@components/ShowContextMenuContext'; import useThemeStyles from '@hooks/useThemeStyles'; +import * as ReportUtils from '@libs/ReportUtils'; import variables from '@styles/variables'; import CONST from '@src/CONST'; -import {ShowContextMenuContext, showContextMenuForReport} from '@components/ShowContextMenuContext'; -import * as ReportUtils from '@libs/ReportUtils'; const propTypes = { onPress: PropTypes.func.isRequired, @@ -39,27 +39,26 @@ function VideoPlayerThumbnail({thumbnailUrl, onPress, accessibilityLabel}) { )} {({anchor, report, action, checkIfContextMenuActive}) => ( - showContextMenuForReport(event, anchor, report?.reportID ?? '', action, checkIfContextMenuActive, ReportUtils.isArchivedRoom(report))} - > - - - - + showContextMenuForReport(event, anchor, report?.reportID ?? '', action, checkIfContextMenuActive, ReportUtils.isArchivedRoom(report))} + > + + + + )} - ); }