aboutsummaryrefslogtreecommitdiffstats
path: root/src/contexts
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-06 02:33:06 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-06 02:33:06 -0400
commit9a07689dfeb736341b4f1b378e0ec758ea9cd0ff (patch)
tree0fe096809a9cc6baaa0052c091a3a60766274224 /src/contexts
parentc34da50c8c1564c9c6556522bf12a93639c1f160 (diff)
downloaddonetick-frontend-9a07689dfeb736341b4f1b378e0ec758ea9cd0ff.tar.gz
donetick-frontend-9a07689dfeb736341b4f1b378e0ec758ea9cd0ff.tar.bz2
donetick-frontend-9a07689dfeb736341b4f1b378e0ec758ea9cd0ff.zip
feat: Add NFC tag writing functionality to ChoreCard component, Add Email to sign up
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 />,
},