Index: database/drizzle/queries/components.ts
===================================================================
--- database/drizzle/queries/components.ts	(revision c586cbdaba421799f528cc117955c0b3ad697da2)
+++ database/drizzle/queries/components.ts	(revision 9d401519b3bf0bd9e64cdeb5785c06593e1a02a1)
@@ -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;
