1
0
Fork 0
VaultUI/src/playground.ts

15 lines
501 B
TypeScript
Raw Normal View History

2021-05-07 23:26:33 +01:00
import { pageState } from "./globalPageState";
import i18next from 'i18next';
// Playground is a way to debug and test things.
// Anything you put in here is gonna be run on page initial load
// before rendering.
// Also it only runs when process.env.NODE_ENV == "development"
// Please empty this function before committing.
2021-05-07 23:26:33 +01:00
export async function playground(): Promise<void> {
console.log("Welcome to Playground!");
2021-05-07 23:26:33 +01:00
(window as any).pageState = pageState;
(window as any).i18next = i18next;
}