@@ -170,7 +170,6 @@ export const signupUser = async (formData: FormData) => {
170170 const signedAt = formData . get ( "ndaSignedAt" ) as string ;
171171
172172 if ( ndaSigned === "true" && signature && document ) {
173- console . log ( "NDA data found in form submission, processing with storage system..." ) ;
174173
175174 try {
176175 // **NEW: Upload NDA files to Supabase Storage instead of storing base64**
@@ -185,7 +184,6 @@ export const signupUser = async (formData: FormData) => {
185184 ) ;
186185
187186 if ( ndaUploadResult . success ) {
188- console . log ( "NDA files uploaded to storage successfully" ) ;
189187
190188 // Set the storage URLs instead of base64 data
191189 nda_status = true ;
@@ -198,7 +196,6 @@ export const signupUser = async (formData: FormData) => {
198196 console . error ( "Failed to upload NDA to storage:" , ndaUploadResult . error ) ;
199197
200198 // **FALLBACK: Use base64 storage if storage upload fails**
201- console . log ( "Falling back to base64 storage for NDA data" ) ;
202199 nda_status = true ;
203200 nda_signature = signature ;
204201 nda_document = document ;
@@ -208,7 +205,6 @@ export const signupUser = async (formData: FormData) => {
208205 console . error ( "Error processing NDA with storage system:" , ndaError ) ;
209206
210207 // **FALLBACK: Use base64 storage if there's an error**
211- console . log ( "Falling back to base64 storage due to error" ) ;
212208 nda_status = true ;
213209 nda_signature = signature ;
214210 nda_document = document ;
@@ -357,7 +353,6 @@ export const signOut = async (): Promise<void> => {
357353 if ( error ) throw new Error ( `Sign out error: ${ error . message } ` ) ;
358354
359355 clearUser ( ) ;
360- console . log ( "User successfully signed out" ) ;
361356 // Redirect to the /codev page
362357 redirect ( "/codev" ) ;
363358 } catch ( error ) {
0 commit comments