diff --git a/src/app/(auth-pages)/forgot-password/layout.tsx b/src/app/(auth-pages)/forgot-password/layout.tsx index 98acc0f..9268213 100644 --- a/src/app/(auth-pages)/forgot-password/layout.tsx +++ b/src/app/(auth-pages)/forgot-password/layout.tsx @@ -2,15 +2,13 @@ import type { Metadata } from 'next'; export const generateMetadata = (): Metadata => { return { - title: 'Forgot Password' + title: 'Forgot Password', }; }; -const ForgotPasswordLayout = ({ children }: Readonly<{ children: React.ReactNode }>) => { - return ( -
Error loading status updates
+ +{userWithStatus.status}
+
No status updates yet
Technician |
-
@@ -435,7 +456,9 @@ export const TechTable = ({
+ {userWithStatus.user.full_name ?? 'Unknown User'} {userWithStatus.updated_by && - userWithStatus.updated_by.id !== userWithStatus.user.id && ( -
-
- )}
+ userWithStatus.updated_by.id !==
+ userWithStatus.user.id && (
+
+
+ )}
-
@@ -497,8 +522,7 @@ export const TechTable = ({
? 'Updating...'
: selectedUsers.length > 0
? `Update ${selectedUsers.length} Users`
- : 'Update Status'
- }
+ : 'Update Status'}
)}
diff --git a/src/components/ui/avatar.tsx b/src/components/ui/avatar.tsx
index 39ae5e5..b5945a2 100644
--- a/src/components/ui/avatar.tsx
+++ b/src/components/ui/avatar.tsx
@@ -5,7 +5,6 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
import { User } from 'lucide-react';
import { cn } from '@/lib/utils';
-
type BasedAvatarProps = React.ComponentProps+ No status updates yet
+ |
---|