Revert the change of removing index path (#438)
This commit is contained in:
@@ -34,6 +34,10 @@ const router = createBrowserRouter([
|
|||||||
path: ":taskId",
|
path: ":taskId",
|
||||||
element: <TaskDetails />,
|
element: <TaskDetails />,
|
||||||
children: [
|
children: [
|
||||||
|
{
|
||||||
|
index: true,
|
||||||
|
element: <Navigate to="actions" />,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "actions",
|
path: "actions",
|
||||||
element: <TaskActions />,
|
element: <TaskActions />,
|
||||||
|
|||||||
Reference in New Issue
Block a user