mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-18 02:31:56 +10:00
Update dependencies and refactor icon imports across the codebase
This commit is contained in:
@ -26,7 +26,7 @@ const emptyTransporter = nodemailer.createTransport({});
|
||||
|
||||
return {
|
||||
defaults: { from },
|
||||
transport: smtpUrl || emptyTransporter,
|
||||
transport: smtpUrl ?? emptyTransporter,
|
||||
};
|
||||
},
|
||||
}),
|
||||
|
||||
@ -62,7 +62,7 @@ export class PrinterService {
|
||||
},
|
||||
});
|
||||
|
||||
const duration = Number(performance.now() - start).toFixed(0);
|
||||
const duration = +(performance.now() - start).toFixed(0);
|
||||
const numberPages = resume.data.metadata.layout.length;
|
||||
|
||||
this.logger.debug(`Chrome took ${duration}ms to print ${numberPages} page(s)`);
|
||||
@ -83,7 +83,7 @@ export class PrinterService {
|
||||
},
|
||||
});
|
||||
|
||||
const duration = Number(performance.now() - start).toFixed(0);
|
||||
const duration = +(performance.now() - start).toFixed(0);
|
||||
|
||||
this.logger.debug(`Chrome took ${duration}ms to generate preview`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user