mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-24 16:49:48 +00:00
feat: refactoring alerts.
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
import React from 'react';
|
||||
import CurrencyDeleteAlert from 'containers/Alerts/Currencies/CurrencyDeleteAlert';
|
||||
|
||||
export default function CurrenciesAlerts() {
|
||||
return (
|
||||
<div>
|
||||
<CurrencyDeleteAlert name={'currency-delete'} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
const CurrencyDeleteAlert = React.lazy(() =>
|
||||
import('../../Alerts/Currencies/CurrencyDeleteAlert'),
|
||||
);
|
||||
export default [{ name: 'currency-delete', component: CurrencyDeleteAlert }];
|
||||
|
||||
Reference in New Issue
Block a user