Skip to content

Commit

Permalink
feat: Begin healthy habits client dashboard (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
RudraPatel2003 authored Dec 25, 2024
1 parent d6d0f5a commit 3363fe1
Show file tree
Hide file tree
Showing 40 changed files with 983 additions and 427 deletions.
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ module.exports = {
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"@typescript-eslint/no-floating-promises": "warn",
"@typescript-eslint/await-thenable": "warn",
"@typescript-eslint/require-await": "warn",

// import rules
"simple-import-sort/imports": "error",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@mui/lab": "6.0.0-beta.14",
"@mui/material": "^6.1.6",
"@mui/material-nextjs": "^6.1.2",
"@mui/x-charts": "^7.23.2",
"@mui/x-data-grid": "^7.22.1",
"@mui/x-date-pickers": "^7.21.0",
"@next/bundle-analyzer": "^15.0.1",
Expand Down
256 changes: 256 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/app/api/auth/[...nextauth]/options.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/require-await */
import bcrypt from "bcrypt";
import { NextAuthOptions } from "next-auth";
import CredentialsProvider from "next-auth/providers/credentials";
Expand Down
2 changes: 1 addition & 1 deletion src/app/change-password/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default async function ForgotPasswordPage() {
const session = await getUserSession();

if (!session) {
redirect("/login");
redirect("/");
}

return (
Expand Down
2 changes: 1 addition & 1 deletion src/app/dashboard/admin/clients/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Box, Typography } from "@mui/material";

export default async function AdminClientsPage() {
export default function AdminClientsPage() {
return (
<Box
sx={{
Expand Down
Loading

0 comments on commit 3363fe1

Please sign in to comment.