mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Add Site settings > General (#133)
This commit is contained in:
committed by
GitHub
parent
bdc4004e4a
commit
35831b9801
37
app/javascript/components/TenantSignUp/index.tsx
Normal file
37
app/javascript/components/TenantSignUp/index.tsx
Normal file
@@ -0,0 +1,37 @@
|
||||
import * as React from 'react';
|
||||
import { Provider } from 'react-redux';
|
||||
|
||||
import createStoreHelper from '../../helpers/createStore';
|
||||
|
||||
import TenantSignUp from '../../containers/TenantSignUp';
|
||||
|
||||
import { Store } from 'redux';
|
||||
import { State } from '../../reducers/rootReducer';
|
||||
|
||||
interface Props {
|
||||
authenticityToken: string;
|
||||
}
|
||||
|
||||
class TenantSignUpRoot extends React.Component<Props> {
|
||||
store: Store<State, any>;
|
||||
|
||||
constructor(props: Props) {
|
||||
super(props);
|
||||
|
||||
this.store = createStoreHelper();
|
||||
}
|
||||
|
||||
render() {
|
||||
const { authenticityToken } = this.props;
|
||||
|
||||
return (
|
||||
<Provider store={this.store}>
|
||||
<TenantSignUp
|
||||
authenticityToken={authenticityToken}
|
||||
/>
|
||||
</Provider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default TenantSignUpRoot;
|
||||
Reference in New Issue
Block a user