Skip to content

Commit 28d8024

Browse files
committed
style/lint
1 parent 832f3bb commit 28d8024

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

src/components/MoneyReportHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ function MoneyReportHeader({
528528

529529
const [integrationsExportTemplates] = useOnyx(ONYXKEYS.NVP_INTEGRATION_SERVER_EXPORT_TEMPLATES, {initialValue: [], canBeMissing: false});
530530
const exportSubmenuOptions = useMemo(() => {
531-
const options: Record<string, DropdownOption<string>> = {
531+
const options: Record<string, DropdownOption<string>> = {
532532
[CONST.REPORT.EXPORT_OPTIONS.DOWNLOAD_CSV]: {
533533
text: translate('export.basicExport'),
534534
icon: Expensicons.Table,

src/libs/ReportSecondaryActionUtils.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,12 @@ function getSecondaryReportActions({
563563
return options;
564564
}
565565

566-
function getSecondaryExportReportActions(report: Report, policy?: Policy, reportActions?: ReportAction[], integrationsExportTemplates?: IntegrationServerExportTemplate[]): Array<ValueOf<typeof CONST.REPORT.EXPORT_OPTIONS> | string> {
566+
function getSecondaryExportReportActions(
567+
report: Report,
568+
policy?: Policy,
569+
reportActions?: ReportAction[],
570+
integrationsExportTemplates?: IntegrationServerExportTemplate[],
571+
): Array<ValueOf<typeof CONST.REPORT.EXPORT_OPTIONS> | string> {
567572
const options: Array<ValueOf<typeof CONST.REPORT.EXPORT_OPTIONS> | string> = [];
568573
if (isExportAction(report, policy, reportActions)) {
569574
options.push(CONST.REPORT.EXPORT_OPTIONS.EXPORT_TO_INTEGRATION);
@@ -581,7 +586,6 @@ function getSecondaryExportReportActions(report: Report, policy?: Policy, report
581586
}
582587
}
583588

584-
585589
return options;
586590
}
587591

src/types/onyx/IntegrationServerExportTemplate.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import type * as OnyxCommon from './OnyxCommon';
44
type IntegrationServerExportTemplate = OnyxCommon.OnyxValueWithOfflineFeedback<{
55
/** Name of the template */
66
name: string;
7-
87
}>;
98

10-
export default IntegrationServerExportTemplate;
9+
export default IntegrationServerExportTemplate;

src/types/onyx/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import type FrequentlyUsedEmoji from './FrequentlyUsedEmoji';
3333
import type {FundList} from './Fund';
3434
import type Fund from './Fund';
3535
import type ImportedSpreadsheet from './ImportedSpreadsheet';
36+
import type IntegrationServerExportTemplate from './IntegrationServerExportTemplate';
3637
import type IntroSelected from './IntroSelected';
3738
import type InvitedEmailsToAccountIDs from './InvitedEmailsToAccountIDs';
3839
import type JoinablePolicies from './JoinablePolicies';
@@ -120,7 +121,6 @@ import type WalletOnfido from './WalletOnfido';
120121
import type WalletStatement from './WalletStatement';
121122
import type WalletTerms from './WalletTerms';
122123
import type WalletTransfer from './WalletTransfer';
123-
import type IntegrationServerExportTemplate from './IntegrationServerExportTemplate';
124124

125125
export type {
126126
TryNewDot,

0 commit comments

Comments
 (0)