mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-06 21:22:36 +00:00
feat: add workspace setting section
This commit is contained in:
@ -4,7 +4,7 @@ import { userService } from "../services";
|
||||
import Root from "../layouts/Root";
|
||||
import Auth from "../pages/Auth";
|
||||
import Home from "../pages/Home";
|
||||
import Account from "../pages/Account";
|
||||
import Setting from "../pages/Setting";
|
||||
|
||||
const router = createBrowserRouter([
|
||||
{
|
||||
@ -33,8 +33,8 @@ const router = createBrowserRouter([
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/account",
|
||||
element: <Account />,
|
||||
path: "/setting",
|
||||
element: <Setting />,
|
||||
loader: async () => {
|
||||
try {
|
||||
await userService.initialState();
|
||||
|
Reference in New Issue
Block a user