Crypocoin: scaffolding

This commit is contained in:
Alex Gleason
2021-06-09 12:38:03 -05:00
parent 8569d74daf
commit 561ff2b53f
6 changed files with 130 additions and 0 deletions

View File

@@ -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>
);

View File

@@ -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');
}