Add Points view, Don't allow completion outside the completion window, migrate more things to react query
This commit is contained in:
parent
d98f4b599f
commit
32583b1a9e
13 changed files with 619 additions and 27 deletions
|
@ -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 />,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue