Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/pages/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import { useForm } from "react-hook-form";
import * as z from "zod";
import { db } from "../utils/firebase";
import { Trash2, User, Link as LinkIcon } from "lucide-react";
import { Separator } from "@/components/ui/separator";
import SocialMediaLinks from "@/components/SocialMedia";
import FriendsList from "@/components/FriendsList";
import PartnerProgress from "@/components/PartnerProgress";
Expand Down Expand Up @@ -461,6 +462,8 @@ const Profile: React.FC = () => {
</form>
</Form>

<Separator className="my-6" />

<CardContent>
<CardTitle>Danger Zone</CardTitle>
<CardDescription className="mt-2">
Comment on lines +465 to 469
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CardContent is currently nested inside another CardContent (the outer one opened above the password form). This results in duplicated padding (p-6 pt-0 applied twice) and makes the Card structure harder to reason about. Consider restructuring so the password form and the Danger Zone are sibling sections (e.g., close the first CardContent before the separator and use a second CardContent, or replace the inner CardContent with a plain div/section).

Copilot uses AI. Check for mistakes.
Expand Down
Loading