mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
feat: refactoring alerts.
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import React from 'react';
|
||||
import PaymentMadeDeleteAlert from 'containers/Alerts/PaymentMades/PaymentMadeDeleteAlert';
|
||||
|
||||
export default function PaymentMadesAlerts() {
|
||||
return (
|
||||
<div>
|
||||
<PaymentMadeDeleteAlert name={'payment-made-delete'} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
const PaymentMadeDeleteAlert = React.lazy(() =>
|
||||
import('containers/Alerts/PaymentMades/PaymentMadeDeleteAlert'),
|
||||
);
|
||||
|
||||
export default [
|
||||
{ name: 'payment-made-delete', component: PaymentMadeDeleteAlert },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user