Add command palette & cleanup
This commit is contained in:
@@ -7,7 +7,9 @@ import { useAppStore } from "@app/core/stores/appStore.js";
|
||||
import { DeviceWrapper } from "@app/DeviceWrapper.js";
|
||||
import { useDeviceStore } from "@core/stores/deviceStore.js";
|
||||
|
||||
import { CommandPalette } from "./components/CommandPalette/Index.js";
|
||||
import { DeviceSelector } from "./components/DeviceSelector.js";
|
||||
import { DialogManager } from "./components/Dialog/DialogManager.js";
|
||||
import { NewDevice } from "./components/NewDevice.js";
|
||||
import { PageNav } from "./components/PageNav.js";
|
||||
import { Sidebar } from "./components/Sidebar.js";
|
||||
@@ -25,11 +27,13 @@ export const App = (): JSX.Element => {
|
||||
|
||||
{device && (
|
||||
<DeviceWrapper device={device}>
|
||||
<CommandPalette />
|
||||
<Toaster
|
||||
toastOptions={{
|
||||
duration: 2000,
|
||||
}}
|
||||
/>
|
||||
<DialogManager />
|
||||
<Sidebar />
|
||||
<PageNav />
|
||||
<MapProvider>
|
||||
|
||||
Reference in New Issue
Block a user