-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #941 from hngprojects/feat/fix-authentication
fix: minor fix status check
- Loading branch information
Showing
3 changed files
with
45 additions
and
97 deletions.
There are no files selected for viewing
95 changes: 19 additions & 76 deletions
95
src/app/dashboard/(user-dashboard)/_components/RecentSales.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 13 additions & 7 deletions
20
src/app/dashboard/(user-dashboard)/_components/overview-sales/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
// import RecentSales from "~/app/dashboard/(user-dashboard)/_components/RecentSales"; | ||
// import { | ||
// data, | ||
// gradients, | ||
// } from "~/app/dashboard/(user-dashboard)/_components/salesData"; | ||
|
||
// export function OverviewSales() { | ||
// return ( | ||
// <RecentSales data={data} gradients={gradients} noOfSales={data.length} /> | ||
// ); | ||
// } | ||
|
||
import RecentSales from "~/app/dashboard/(user-dashboard)/_components/RecentSales"; | ||
import { | ||
data, | ||
gradients, | ||
} from "~/app/dashboard/(user-dashboard)/_components/salesData"; | ||
|
||
export function OverviewSales() { | ||
return ( | ||
<RecentSales data={data} gradients={gradients} noOfSales={data.length} /> | ||
); | ||
return <RecentSales />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters