feat: update-layout & add uuid tool #4

Merged
typist merged 7 commits from feat/update-layout into main 2025-10-28 00:55:43 +08:00
Showing only changes of commit 401678c86e - Show all commits

View File

@@ -24,7 +24,7 @@ const router = createBrowserRouter([
)),
{
index: true,
element: null,
loader: () => redirect("/tool/uuid"),
},
]
},
@@ -32,15 +32,11 @@ const router = createBrowserRouter([
},
{
index: true,
loader: () => {
return redirect("/tool");
},
loader: () => redirect("/tool"),
},
{
path: "*",
loader: () => {
return redirect("/tool");
},
loader: () => redirect("/tool"),
},
]);