1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/start-app.ts
Jari Kolehmainen 17757fd395 use startApp on both sides
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2022-12-13 15:08:12 +02:00

19 lines
414 B
TypeScript

/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import "./components/app.scss";
import { bootstrap } from "./bootstrap";
import type { DiContainer } from "@ogre-tools/injectable";
interface AppConfig {
di: DiContainer;
}
export function startApp(conf: AppConfig) {
const { di } = conf;
bootstrap(di);
}