diff --git a/.vscode/settings.json b/.vscode/settings.json index 0b868be7..587e857e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -21,9 +21,5 @@ "**/.DS_Store": true, "**/Thumbs.db": true }, - "cSpell.words": [ - "birthdaycloud", - "fastify", - "Middie" - ] + "cSpell.words": ["birthdaycloud", "fastify", "Middie"] } diff --git a/apps/server/src/app.module.ts b/apps/server/src/app.module.ts index 95b2f626..fd0195aa 100644 --- a/apps/server/src/app.module.ts +++ b/apps/server/src/app.module.ts @@ -23,7 +23,7 @@ import { HealthModule } from './health/HealthModule'; }, ]), FaucetModule, - HealthModule + HealthModule, ], controllers: [AppController], providers: [ diff --git a/apps/server/src/health/HealthController.ts b/apps/server/src/health/HealthController.ts index a3135585..4ff5e870 100644 --- a/apps/server/src/health/HealthController.ts +++ b/apps/server/src/health/HealthController.ts @@ -2,12 +2,9 @@ import { Controller, Get } from '@nestjs/common'; import { HealthCheck, HealthCheckService } from '@nestjs/terminus'; import { SkipThrottle } from '@nestjs/throttler'; - @Controller('health') export class HealthController { - constructor( - private readonly health: HealthCheckService, - ) {} + constructor(private readonly health: HealthCheckService) {} @SkipThrottle() @Get() diff --git a/apps/web/src/pages/tx/[tid].tsx b/apps/web/src/pages/tx/[tid].tsx index 3534155e..9a0ad060 100644 --- a/apps/web/src/pages/tx/[tid].tsx +++ b/apps/web/src/pages/tx/[tid].tsx @@ -32,7 +32,7 @@ export default function Transaction({ const gasPrice = { value: txDetails.gasPrice, symbol: GWEI_SYMBOL }; const gasUsedPercentage = new BigNumber(txDetails.gasUsed) .dividedBy(txDetails.gasLimit) - .multipliedBy(100) + .multipliedBy(100); const timeDuration = getDuration(Number(txDetails.timeInSec)); const timeInUTC = formatDateToUTC(txDetails.timestamp); @@ -225,7 +225,9 @@ export default function Transaction({ gasPrice={gasPrice} gasLimit={txDetails.gasLimit} gasUsed={txDetails.gasUsed} - gasUsedPercentage={gasUsedPercentage.isNaN() ? "0" : gasUsedPercentage.toFixed(2)} + gasUsedPercentage={ + gasUsedPercentage.isNaN() ? "0" : gasUsedPercentage.toFixed(2) + } nonce={txDetails.nonce} from={txDetails.from} to={txDetails.to} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3e712d3c..3ff5faaa 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,3 @@ packages: - "apps/*" - - "packages/*" \ No newline at end of file + - "packages/*"