mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
27 lines
560 B
TypeScript
27 lines
560 B
TypeScript
import React from "react";
|
|
import { userStore } from "../../../common/user-store";
|
|
import { workspaceStore } from "../../../common/workspace-store";
|
|
import { clusterStore } from "../../../common/cluster-store";
|
|
|
|
interface Props {
|
|
}
|
|
|
|
export class Clusters extends React.Component {
|
|
static async init(){
|
|
// todo: move to App.init()
|
|
await Promise.all([
|
|
userStore.load(),
|
|
workspaceStore.load(),
|
|
clusterStore.load(),
|
|
]);
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<div className="Clusters">
|
|
Clusters page
|
|
</div>
|
|
);
|
|
}
|
|
}
|