Skip to content

Commit

Permalink
simplify ReportActionsList
Browse files Browse the repository at this point in the history
  • Loading branch information
rezkiy37 committed Dec 2, 2024
1 parent 97f676f commit 7d0f8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function ReportActionsList({
const reportScrollManager = useReportScrollManager();
const userActiveSince = useRef<string>(DateUtils.getDBTime());
const lastMessageTime = useRef<string | null>(null);
const [isVisible, setIsVisible] = useState(() => Visibility.isVisible());
const [isVisible, setIsVisible] = useState(Visibility.isVisible);
const isFocused = useIsFocused();

const [reportNameValuePairs] = useOnyx(`${ONYXKEYS.COLLECTION.REPORT_NAME_VALUE_PAIRS}${report?.reportID ?? -1}`);
Expand Down

0 comments on commit 7d0f8a3

Please sign in to comment.