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
25 changes: 0 additions & 25 deletions client/src/components/profileSettings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const ProfileSettings: React.FC = () => {
newPassword,
confirmNewPassword,
successMessage,
errorMessage,
showConfirmation,
pendingAction,
canEditProfile,
Expand Down Expand Up @@ -141,30 +140,6 @@ const ProfileSettings: React.FC = () => {
</div>
)}

{errorMessage && (
<div className="mb-4 p-4 rounded-md bg-red-50 border border-red-200">
<div className="flex">
<div className="flex-shrink-0">
<svg
className="h-5 w-5 text-red-400"
viewBox="0 0 20 20"
fill="currentColor"
>
<path
fillRule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z"
clipRule="evenodd"
/>
</svg>
</div>
<div className="ml-3">
<p className="text-sm font-medium text-red-800">
{errorMessage}
</p>
</div>
</div>
</div>
)}
{userData ? (
<div className="bg-white shadow overflow-hidden sm:rounded-lg">
{/* Header */}
Expand Down