Index: database/drizzle/queries/components.ts
===================================================================
--- database/drizzle/queries/components.ts	(revision adc31efc1b4507b5b3a779e6190ce32df4c108a5)
+++ database/drizzle/queries/components.ts	(revision c586cbdaba421799f528cc117955c0b3ad697da2)
@@ -104,5 +104,5 @@
 }
 
-export async function getDetailsForNewComponent(componentType: string) {
+export async function getDetailsNewComponent(componentType: string) {
     const config = typeConfigMap[componentType as ComponentType];
 
@@ -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;
