Skip to content

[HOLD][Odometer] Improvement to DiscardChangesConfirmation usage #79502

@Julesssss

Description

@Julesssss

Problem

We have a Odometer project PR here. A remaining improvement suggestion is an improvement to our usage of DiscardChangesConfirmation modal within the Odometer expense flow.

Replace the isEnabled prop approach in DiscardChangesConfirmation with the existing isSaved flag pattern used in IOURequestStepMerchant

We are partly blocked by this PR which modifies DiscardChangesModal. So this task is being created as a seperate follow up issue.


Image

Metadata

Metadata

Type

Projects

Status

MEDIUM or LOW

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions