Skip to content

Commit 5d2e1f0

Browse files
committed
adjustments
1 parent 3f1864d commit 5d2e1f0

File tree

2 files changed

+5
-16
lines changed

2 files changed

+5
-16
lines changed

resources/js/Components/Settings/DeleteUser.tsx

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,18 @@ export default function DeleteUser() {
4646
<div>
4747
<SettingsHeading
4848
title="Delete Account"
49-
description="Remove your account and all of its resources"
49+
description="Delete your account and all of its resources"
5050
/>
5151
<Dialog>
5252
<DialogTrigger asChild>
5353
<Button variant="destructive">Delete Account</Button>
5454
</DialogTrigger>
5555
<DialogContent>
56-
<form className="space-y-4" onSubmit={deleteUser}>
56+
<form className="space-y-6" onSubmit={deleteUser}>
5757
<DialogHeader className="space-y-3">
5858
<DialogTitle>Are you sure you want to delete your account?</DialogTitle>
5959
<DialogDescription>
60-
Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.
60+
Once your account is deleted, all of its resources and data will also be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.
6161
</DialogDescription>
6262
</DialogHeader>
6363
<div className="grid gap-2">
@@ -94,17 +94,6 @@ export default function DeleteUser() {
9494
</form>
9595
</DialogContent>
9696
</Dialog>
97-
98-
<Alert variant="destructive" className="mt-4">
99-
<TriangleAlert className="h-4 w-4" />
100-
<AlertTitle>Warning</AlertTitle>
101-
<AlertDescription>
102-
Once your account is deleted, all of its resources and data
103-
will be permanently removed. Before deleting your account,
104-
please download any data or information that you wish to
105-
retain.
106-
</AlertDescription>
107-
</Alert>
10897
</div>
10998
);
11099
}

resources/js/Pages/Settings/Profile.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default function Profile({
6565
<div class="flex flex-col">
6666
<SettingsHeading
6767
title="Profile Information"
68-
description="Update your account's profile information and email address."
68+
description="Update your name and email address"
6969
/>
7070

7171
<form onSubmit={submit} className="space-y-6">
@@ -145,4 +145,4 @@ export default function Profile({
145145
</SettingsLayout>
146146
</AppLayout>
147147
);
148-
}
148+
}

0 commit comments

Comments
 (0)