Index: components/BuildDetailsDialog.tsx
===================================================================
--- components/BuildDetailsDialog.tsx	(revision 9d401519b3bf0bd9e64cdeb5785c06593e1a02a1)
+++ components/BuildDetailsDialog.tsx	(revision ad3c2197e55d9c6ee26e227895257ca317c30a78)
@@ -77,5 +77,4 @@
         }
     }, [open, buildId]);
-
 
     const handleFavorite = async () => {
@@ -125,4 +124,6 @@
         }
     };
+
+    const isCreator = currentUser && details && details.userId === currentUser;
 
     if (!open) return null;
@@ -305,5 +306,5 @@
                                         </Box>
 
-                                        {currentUser && details.userId !== currentUser.id && (
+                                        {currentUser && !isCreator && (
                                             <Box sx={{mb: 4, p: 2, border: '1px solid #ddd', borderRadius: 2}}>
                                                 <Typography variant="subtitle2" gutterBottom>Your Review</Typography>
@@ -327,6 +328,6 @@
                                         )}
 
-                                        {currentUser && details.userId === currentUser.id && (
-                                            <Alert severity="info" sx={{mb: 4}}>
+                                        {currentUser && isCreator && (
+                                            <Alert severity="error" sx={{mb: 4}}>
                                                 You cannot rate your own builds.
                                             </Alert>
