Add Points view, Don't allow completion outside the completion window, migrate more things to react query

This commit is contained in:
Mo Tarbin 2024-12-31 02:20:52 -05:00
parent d98f4b599f
commit 32583b1a9e
13 changed files with 619 additions and 27 deletions

View file

@ -23,6 +23,7 @@ import TestView from '../views/TestView/Test'
import ThingsHistory from '../views/Things/ThingsHistory'
import ThingsView from '../views/Things/ThingsView'
import UserActivities from '../views/User/UserActivities'
import UserPoints from '../views/User/UserPoints'
const getMainRoute = () => {
if (import.meta.env.VITE_IS_LANDING_DEFAULT === 'true') {
return <Landing />
@ -71,6 +72,10 @@ const Router = createBrowserRouter([
path: '/activities',
element: <UserActivities />,
},
{
path: '/points',
element: <UserPoints />,
},
{
path: '/login',
element: <LoginView />,