Index: database/drizzle/queries/components.ts
===================================================================
--- database/drizzle/queries/components.ts	(revision 2c7b9c87c00eed8b078583bf0f8f63d1870ede7e)
+++ database/drizzle/queries/components.ts	(revision ad3c2197e55d9c6ee26e227895257ca317c30a78)
@@ -1067,16 +1067,16 @@
             );
 
-        // const totalPrice = buildComponents.reduce((sum, c) =>
-        //     sum + (Number(c.price) * c.quantity), 0
-        // );
-
-        // await tx
-        //     .update(buildsTable)
-        //     .set({
-        //         totalPrice: totalPrice.toFixed(2)
-        //     })
-        //     .where(
-        //         eq(buildsTable.id, buildId)
-        //     );
+        const totalPrice = buildComponents.reduce((sum, c) =>
+            sum + (Number(c.price) * c.quantity), 0
+        );
+
+        await tx
+            .update(buildsTable)
+            .set({
+                totalPrice: totalPrice.toFixed(2)
+            })
+            .where(
+                eq(buildsTable.id, buildId)
+            );
 
         return buildId;
@@ -1151,16 +1151,16 @@
             );
 
-        // const totalPrice = buildComponents.reduce((sum, c) =>
-        //     sum + (Number(c.price) * c.quantity), 0
-        // );
-
-        // await tx
-        //     .update(buildsTable)
-        //     .set({
-        //         totalPrice: totalPrice.toFixed(2)
-        //     })
-        //     .where(
-        //         eq(buildsTable.id, buildId)
-        //     );
+        const totalPrice = buildComponents.reduce((sum, c) =>
+            sum + (Number(c.price) * c.quantity), 0
+        );
+
+        await tx
+            .update(buildsTable)
+            .set({
+                totalPrice: totalPrice.toFixed(2)
+            })
+            .where(
+                eq(buildsTable.id, buildId)
+            );
 
         return componentId;
