mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
31 lines
661 B
TypeScript
31 lines
661 B
TypeScript
// Copyright 2024, Command Line Inc.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import * as React from "react";
|
|
import * as jotai from "jotai";
|
|
import { Provider } from "jotai";
|
|
import { clsx } from "clsx";
|
|
import { Workspace } from "@/app/workspace/workspace";
|
|
import { globalStore, atoms } from "@/store/global";
|
|
|
|
import "../../public/style.less";
|
|
|
|
const App = () => {
|
|
return (
|
|
<Provider store={globalStore}>
|
|
<AppInner />
|
|
</Provider>
|
|
);
|
|
};
|
|
|
|
const AppInner = () => {
|
|
return (
|
|
<div className="mainapp">
|
|
<div className="titlebar"></div>
|
|
<Workspace />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export { App };
|