Skip to content
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

Conversation

manishpali17
Copy link
Contributor

@manishpali17 manishpali17 commented May 14, 2024

PR Fixes:

  • 1 Mark as complete feature fixed
  • 2 Husky Install comment is Deprecated
  • 3 Each child in a list should have a unique "key" prop breadCrumbComponent
  • 4 Extra comma in package.json file

Resolves #630
Resolves #629
Resolves #624
Resolves #623
Resolves #662

Checklist before requesting a review

  • I have performed a self-review of my code
  • I assure there is no similar/duplicate pull request regarding same issue

@@ -20,7 +20,7 @@ export const metadata: Metadata = siteConfig;

export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<html lang="en" suppressHydrationWarning>
Copy link
Contributor Author

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"
Copy link
Contributor Author

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 ? (
Copy link
Contributor Author

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

@@ -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';
Copy link
Contributor Author

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",
Copy link
Contributor Author

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

@manishpali17 manishpali17 deleted the marksAsCompletefix-AndBrowserConsoleErrorFIx branch May 22, 2024 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants