Skip to content

Commit 6e46d5f

Browse files
committed
typo/linter errors
1 parent 8f3bb50 commit 6e46d5f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/MoneyReportHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ function MoneyReportHeader({
554554
const [offlineModalVisible, setOfflineModalVisible] = useState(false);
555555

556556
const [integrationsExportTemplates] = useOnyx(ONYXKEYS.NVP_INTEGRATION_SERVER_EXPORT_TEMPLATES, {initialValue: [], canBeMissing: false});
557-
const exportSubmenuOptions = useMemo(() => {
557+
const exportSubmenuOptions: Record<string, DropdownOption<string>> = useMemo(() => {
558558
const options: Record<string, DropdownOption<string>> = {
559559
[CONST.REPORT.EXPORT_OPTIONS.DOWNLOAD_CSV]: {
560560
text: translate('export.basicExport'),
@@ -791,7 +791,7 @@ function MoneyReportHeader({
791791
text: translate('common.export'),
792792
backButtonText: translate('common.export'),
793793
icon: Expensicons.Export,
794-
subMenuItems: secondaryExportActions.map((action) => exportSubMenuOptions[action]),
794+
subMenuItems: secondaryExportActions.map((action) => exportSubmenuOptions[action as string]),
795795
},
796796
[CONST.REPORT.SECONDARY_ACTIONS.DOWNLOAD_PDF]: {
797797
value: CONST.REPORT.SECONDARY_ACTIONS.DOWNLOAD_PDF,

0 commit comments

Comments
 (0)