Crypocoin: scaffolding
This commit is contained in:
@@ -92,6 +92,7 @@ import {
|
||||
AwaitingApproval,
|
||||
Reports,
|
||||
ModerationLog,
|
||||
Cryptocoin,
|
||||
} from './util/async-components';
|
||||
|
||||
// Dummy import, to make sure that <Status /> ends up in the application bundle.
|
||||
@@ -289,6 +290,8 @@ class SwitchingColumnsArea extends React.PureComponent {
|
||||
<WrappedRoute path='/admin/log' page={AdminPage} component={ModerationLog} content={children} exact />
|
||||
<WrappedRoute path='/info' layout={LAYOUT.EMPTY} component={ServerInfo} content={children} />
|
||||
|
||||
<WrappedRoute path='/donate/crypto' layout={LAYOUT.DEFAULT} component={Cryptocoin} content={children} />
|
||||
|
||||
<WrappedRoute layout={LAYOUT.EMPTY} component={GenericNotFound} content={children} />
|
||||
</Switch>
|
||||
);
|
||||
|
||||
@@ -229,3 +229,7 @@ export function Reports() {
|
||||
export function ModerationLog() {
|
||||
return import(/* webpackChunkName: "features/admin/moderation_log" */'../../admin/moderation_log');
|
||||
}
|
||||
|
||||
export function Cryptocoin() {
|
||||
return import(/* webpackChunkName: "features/cryptocoin" */'../../cryptocoin');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user