Add webhooks (#447)

This commit is contained in:
Riccardo Graziosi
2024-12-20 14:06:48 +01:00
committed by GitHub
parent 2290cff507
commit a12a95eccc
63 changed files with 2914 additions and 64 deletions

View File

@@ -0,0 +1,33 @@
import * as React from 'react';
import { Provider } from 'react-redux';
import { Store } from 'redux';
import createStoreHelper from '../../../helpers/createStore';
import { State } from '../../../reducers/rootReducer';
import WebhooksSiteSettings from '../../../containers/WebhooksSiteSettings';
interface Props {
authenticityToken: string;
}
class WebhooksSiteSettingsRoot extends React.Component<Props> {
store: Store<State, any>;
constructor(props: Props) {
super(props);
this.store = createStoreHelper();
}
render() {
return (
<Provider store={this.store}>
<WebhooksSiteSettings
authenticityToken={this.props.authenticityToken}
/>
</Provider>
);
}
}
export default WebhooksSiteSettingsRoot;