-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(admin):can view statistics of whole commetcer #54
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
0b26381
to
1cf419f
Compare
1cf419f
to
cf71233
Compare
cf71233
to
54ef7bc
Compare
@@ -0,0 +1,162 @@ | |||
/* eslint-disable react-hooks/exhaustive-deps */ | |||
import { FaPeopleGroup } from 'react-icons/fa6'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
54ef7bc
to
c3240fb
Compare
@@ -0,0 +1,49 @@ | |||
interface userStatCardProps { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: Unexpected token userStatCardProps
c3240fb
to
7779a3e
Compare
</tr> | ||
</thead> | ||
<tbody> | ||
{data?.data && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure that recent order is the one to be displayed first. When new order is created it is being the last instead of being first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GarrixA i resolved it
7779a3e
to
89382d2
Compare
89382d2
to
b46521a
Compare
@@ -0,0 +1,50 @@ | |||
/* eslint-disable @typescript-eslint/no-explicit-any */ | |||
import { createAsyncThunk, createSlice, PayloadAction } from '@reduxjs/toolkit'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parsing error: 'import' and 'export' may appear only with 'sourceType: module'
What does this PR do?
A admin can have some statistics of all app.
How should this be manually tested?
Clone the repo and cd into it
Checkout to feat-admin-stat-fe and run npm install
Run npm run dev to start the application locally
login as admin and see all user and order stats