admin-subscriptions.tsx
14 lines
| 1 | import {StrictMode} from 'react'; |
| 2 | import {createRoot} from 'react-dom/client'; |
| 3 | import SubscriptionsListTable from './components/SubscriptionsListTable'; |
| 4 | |
| 5 | const element = document.getElementById('give-admin-subscriptions-root'); |
| 6 | |
| 7 | if (element) { |
| 8 | createRoot(element).render( |
| 9 | <StrictMode> |
| 10 | <SubscriptionsListTable /> |
| 11 | </StrictMode> |
| 12 | ); |
| 13 | } |
| 14 |