diff --git a/src/hooks/useFrozenScroll.js b/src/hooks/useFrozenScroll.js
index 1961b6cb6120..a37dcbf1ee4a 100644
--- a/src/hooks/useFrozenScroll.js
+++ b/src/hooks/useFrozenScroll.js
@@ -1,5 +1,5 @@
import {useContext} from 'react';
-import {ReportActionListFrozenScrollContext} from "../pages/home/report/ReportActionListFrozenScrollContext";
+import {ReportActionListFrozenScrollContext} from '../pages/home/report/ReportActionListFrozenScrollContext';
/**
* Hook for getting current state of scroll freeze and a function to set whether the scroll should be frozen
diff --git a/src/pages/home/ReportScreen.js b/src/pages/home/ReportScreen.js
index 100615b836c4..83c10f6e4f1e 100644
--- a/src/pages/home/ReportScreen.js
+++ b/src/pages/home/ReportScreen.js
@@ -39,7 +39,7 @@ import DragAndDropProvider from '../../components/DragAndDrop/Provider';
import usePrevious from '../../hooks/usePrevious';
import CONST from '../../CONST';
import withCurrentReportID, {withCurrentReportIDPropTypes, withCurrentReportIDDefaultProps} from '../../components/withCurrentReportID';
-import {ReportActionListFrozenScrollContextProvider} from "./report/ReportActionListFrozenScrollContext";
+import {ReportActionListFrozenScrollContextProvider} from './report/ReportActionListFrozenScrollContext';
const propTypes = {
/** Navigation route context info provided by react navigation */
@@ -382,7 +382,7 @@ function ReportScreen({
-
+
@@ -425,8 +425,7 @@ function ReportScreen({
{/* Note: The report should be allowed to mount even if the initial report actions are not loaded. If we prevent rendering the report while they are loading then
we'll unnecessarily unmount the ReportActionsView which will clear the new marker lines initial state. */}
- {(!isReportReadyForDisplay || isLoadingInitialReportActions || isLoading) &&
- }
+ {(!isReportReadyForDisplay || isLoadingInitialReportActions || isLoading) && }
{isReportReadyForDisplay && (
<>
diff --git a/src/pages/home/report/ReportActionItemMessageEdit.js b/src/pages/home/report/ReportActionItemMessageEdit.js
index 489784201ccf..dfd2758f8f42 100644
--- a/src/pages/home/report/ReportActionItemMessageEdit.js
+++ b/src/pages/home/report/ReportActionItemMessageEdit.js
@@ -40,7 +40,7 @@ import * as EmojiPickerAction from '../../../libs/actions/EmojiPickerAction';
import focusWithDelay from '../../../libs/focusWithDelay';
import ONYXKEYS from '../../../ONYXKEYS';
import * as Browser from '../../../libs/Browser';
-import useFrozenScroll from "../../../hooks/useFrozenScroll";
+import useFrozenScroll from '../../../hooks/useFrozenScroll';
const propTypes = {
/** All the data of the action */
diff --git a/src/pages/home/report/ReportActionListFrozenScrollContext.js b/src/pages/home/report/ReportActionListFrozenScrollContext.js
index 59d488f8cab6..7e8fef346a90 100644
--- a/src/pages/home/report/ReportActionListFrozenScrollContext.js
+++ b/src/pages/home/report/ReportActionListFrozenScrollContext.js
@@ -1,7 +1,6 @@
-import React, {createContext, forwardRef, useMemo, useState} from "react";
-import PropTypes from "prop-types";
-import getComponentDisplayName from "../../../libs/getComponentDisplayName";
-
+import React, {createContext, forwardRef, useMemo, useState} from 'react';
+import PropTypes from 'prop-types';
+import getComponentDisplayName from '../../../libs/getComponentDisplayName';
const withScrollFrozenPropTypes = {
/** flag determining if we should freeze the scroll */
@@ -13,7 +12,6 @@ const withScrollFrozenPropTypes = {
const ReportActionListFrozenScrollContext = createContext(null);
-
function ReportActionListFrozenScrollContextProvider(props) {
const [shouldFreezeScroll, setShouldFreezeScroll] = useState(false);
@@ -29,8 +27,7 @@ function ReportActionListFrozenScrollContextProvider(props) {
[shouldFreezeScroll, setShouldFreezeScroll],
);
- return {props.children};
+ return {props.children};
}
ReportActionListFrozenScrollContextProvider.displayName = 'ReportActionListFrozenScrollContextProvider';
@@ -42,15 +39,15 @@ ReportActionListFrozenScrollContextProvider.propTypes = {
function withScrollFrozen(WrappedComponent) {
const WithScrollFrozenState = forwardRef((props, ref) => (
- {(scrollFrozenProps) =>
-
- }
+ {(scrollFrozenProps) => (
+
+ )}
));
@@ -58,10 +55,4 @@ function withScrollFrozen(WrappedComponent) {
return WithScrollFrozenState;
}
-
-export {
- ReportActionListFrozenScrollContext,
- ReportActionListFrozenScrollContextProvider,
- withScrollFrozenPropTypes,
- withScrollFrozen
-};
+export {ReportActionListFrozenScrollContext, ReportActionListFrozenScrollContextProvider, withScrollFrozenPropTypes, withScrollFrozen};
diff --git a/src/pages/home/report/ReportActionsList.js b/src/pages/home/report/ReportActionsList.js
index 9571dd0c1701..4520f4f42f76 100644
--- a/src/pages/home/report/ReportActionsList.js
+++ b/src/pages/home/report/ReportActionsList.js
@@ -21,7 +21,7 @@ import reportPropTypes from '../../reportPropTypes';
import FloatingMessageCounter from './FloatingMessageCounter';
import ReportActionsListItemRenderer from './ReportActionsListItemRenderer';
import reportActionPropTypes from './reportActionPropTypes';
-import useFrozenScroll from "../../../hooks/useFrozenScroll";
+import useFrozenScroll from '../../../hooks/useFrozenScroll';
const propTypes = {
/** The report currently being looked at */
@@ -93,7 +93,7 @@ function keyExtractor(item) {
const maintainVisibleContentPositionOptions = {
minIndexForVisible: 1,
-}
+};
function isMessageUnread(message, lastReadTime) {
return Boolean(message && lastReadTime && message.created && lastReadTime < message.created);