1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/+clusters/clusters.tsx
Roman 434f26f17f added dummy react files for replacing vue-components
Signed-off-by: Roman <ixrock@gmail.com>
2020-07-08 12:58:49 +03:00

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