-
Notifications
You must be signed in to change notification settings - Fork 746
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
Fix markasread and breadCrumbcomp key prop error #631
Fix markasread and breadCrumbcomp key prop error #631
Conversation
@@ -20,7 +20,7 @@ export const metadata: Metadata = siteConfig; | |||
|
|||
export default function RootLayout({ children }: { children: ReactNode }) { | |||
return ( | |||
<html lang="en"> | |||
<html lang="en" suppressHydrationWarning> |
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.
Used for browser console error Extra attributes form the server: class,style;
stroke-width="2" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth="2" |
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.
Invaild Dom Property
</BreadcrumbItem> | ||
)} | ||
</> | ||
return index !== array.length - 1 ? ( |
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.
Each child in a list should have a unique "key" prop
src/components/CourseCard.tsx
Outdated
@@ -4,6 +4,8 @@ import PercentageComplete from './PercentageComplete'; | |||
import { PrimaryButton } from './buttons/PrimaryButton'; | |||
import { SecondaryButton } from './buttons/SecondaryButton'; | |||
import { useRouter } from 'next/navigation'; | |||
import { Button } from './ui/button'; | |||
import { ChevronRight } from 'lucide-react'; |
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.
missing imports
@@ -19,7 +19,7 @@ | |||
"prisma:migrate": "prisma migrate deploy", | |||
"db:seed": "prisma db seed", | |||
"db:reset": "prisma migrate reset", | |||
"prepare": "husky install", |
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.
Husky Install comment is Deprecated It's "husky" now
PR Fixes:
Resolves #630
Resolves #629
Resolves #624
Resolves #623
Resolves #662
Checklist before requesting a review