From 8657dd4f6cf09b5cf5eb9bc4785d1a44e52c8bf3 Mon Sep 17 00:00:00 2001 From: OlimpiaZurek Date: Mon, 2 Oct 2023 15:29:19 +0200 Subject: [PATCH] fix cursor moving to new line when tapped return --- .../home/report/ContextMenu/PopoverReportActionContextMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js b/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js index 1c54bc572a34..58017705c5f1 100644 --- a/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js +++ b/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js @@ -12,7 +12,7 @@ import useLocalize from '../../../../hooks/useLocalize'; function PopoverReportActionContextMenu(_props, ref) { const {translate} = useLocalize(); const reportIDRef = useRef('0'); - const typeRef = useRef(''); + const typeRef = useRef(undefined); const reportActionRef = useRef({}); const reportActionIDRef = useRef('0'); const originalReportIDRef = useRef('0');