Skip to content

Commit

Permalink
OPL-63: fixed name of Dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
sniedzielski committed Feb 22, 2022
1 parent f6b1479 commit 25ba7c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dialogs/InvoiceEventMessageDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { bindActionCreators } from "redux";
import { EMPTY_EVENT_MESSAGE } from "../constants";
import { defaultDialogStyles } from "../util/styles";

const InvoicePaymentDialog = ({ intl, classes, invoice, createInvoiceEventMessage }) => {
const InvoiceEventMessageDialog = ({ intl, classes, invoice, createInvoiceEventMessage }) => {
const [isOpen, setIsOpen] = useState(false);
const [eventMessage, setEventMessage] = useState({ invoiceId: invoice.id, ...EMPTY_EVENT_MESSAGE });

Expand Down Expand Up @@ -82,5 +82,5 @@ const InvoicePaymentDialog = ({ intl, classes, invoice, createInvoiceEventMessag
const mapDispatchToProps = (dispatch) => bindActionCreators({ createInvoiceEventMessage }, dispatch);

export default injectIntl(
withTheme(withStyles(defaultDialogStyles)(connect(null, mapDispatchToProps)(InvoicePaymentDialog))),
withTheme(withStyles(defaultDialogStyles)(connect(null, mapDispatchToProps)(InvoiceEventMessageDialog))),
);

0 comments on commit 25ba7c0

Please sign in to comment.