webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/WebhooksIndexPage.js in foreman_webhooks-2.0.3 vs webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/WebhooksIndexPage.js in foreman_webhooks-3.0.0

- old
+ new

@@ -24,11 +24,10 @@ sort, hasError, itemCount, message, canCreate, - toasts, reloadWithSearch, }) => { const [toDelete, setToDelete] = useState({}); const [toEdit, setToEdit] = useState(0); @@ -60,11 +59,10 @@ searchProps={WEBHOOKS_SEARCH_PROPS} searchQuery={search} isLoading={isLoading && hasData} onSearch={reloadWithSearch} onBookmarkClick={reloadWithSearch} - toastNotifications={toasts} toolbarButtons={canCreate && createBtn} > <WebhooksTable results={webhooks} fetchAndPush={fetchAndPush} @@ -96,10 +94,9 @@ sort: PropTypes.object.isRequired, hasError: PropTypes.bool.isRequired, itemCount: PropTypes.number.isRequired, message: PropTypes.object, canCreate: PropTypes.bool.isRequired, - toasts: PropTypes.array.isRequired, reloadWithSearch: PropTypes.func.isRequired, }; WebhooksIndexPage.defaultProps = { page: null,