aboutsummaryrefslogtreecommitdiffstats
path: root/src/contexts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/contexts/RouterContext.jsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/contexts/RouterContext.jsx b/src/contexts/RouterContext.jsx
index 6077092..02df35f 100644
--- a/src/contexts/RouterContext.jsx
+++ b/src/contexts/RouterContext.jsx
@@ -8,6 +8,7 @@ import ForgotPasswordView from '../views/Authorization/ForgotPasswordView'
import LoginView from '../views/Authorization/LoginView'
import SignupView from '../views/Authorization/Signup'
import UpdatePasswordView from '../views/Authorization/UpdatePasswordView'
+import ChoreView from '../views/ChoreEdit/ChoreView'
import MyChores from '../views/Chores/MyChores'
import JoinCircleView from '../views/Circles/JoinCircle'
import ChoreHistory from '../views/History/ChoreHistory'
@@ -42,6 +43,10 @@ const Router = createBrowserRouter([
element: <ChoreEdit />,
},
{
+ path: '/chores/:choreId',
+ element: <ChoreView />,
+ },
+ {
path: '/chores/create',
element: <ChoreEdit />,
},