mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-28 12:11:53 +01:00
A bunch of tweaks
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { createBrowserRouter, Navigate, RouterProvider } from 'react-router-dom';
|
||||
import { createBrowserRouter, Navigate, Outlet, RouterProvider } from 'react-router-dom';
|
||||
import { routePaths } from '../hooks/useRoutes';
|
||||
import RouteError from './RouteError';
|
||||
import { TauriListeners } from './TauriListeners';
|
||||
import Workspace from './Workspace';
|
||||
import Workspaces from './Workspaces';
|
||||
|
||||
@@ -8,6 +9,12 @@ const router = createBrowserRouter([
|
||||
{
|
||||
path: '/',
|
||||
errorElement: <RouteError />,
|
||||
element: (
|
||||
<>
|
||||
<Outlet />
|
||||
<TauriListeners />
|
||||
</>
|
||||
),
|
||||
children: [
|
||||
{
|
||||
path: '/',
|
||||
|
||||
Reference in New Issue
Block a user