mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
19 lines
485 B
TypeScript
19 lines
485 B
TypeScript
|
import {AppModel} from 'app/client/models/AppModel';
|
||
|
import { Disposable, IDomCreator } from 'grainjs';
|
||
|
|
||
|
export type IActivationPageCreator = IDomCreator<[AppModel]>
|
||
|
|
||
|
/**
|
||
|
* A blank ActivationPage stand-in, as it's possible for the frontend to try and load an "activation page",
|
||
|
* even though there's no activation in core.
|
||
|
*/
|
||
|
export class DefaultActivationPage extends Disposable {
|
||
|
constructor(_appModel: AppModel) {
|
||
|
super();
|
||
|
}
|
||
|
|
||
|
public buildDom() {
|
||
|
return null;
|
||
|
}
|
||
|
}
|