Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fullstackninja864 committed Nov 9, 2023
1 parent 1969bab commit 906d6e9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,5 @@
"**/.DS_Store": true,
"**/Thumbs.db": true
},
"cSpell.words": [
"birthdaycloud",
"fastify",
"Middie"
]
"cSpell.words": ["birthdaycloud", "fastify", "Middie"]
}
2 changes: 1 addition & 1 deletion apps/server/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { HealthModule } from './health/HealthModule';
},
]),
FaucetModule,
HealthModule
HealthModule,
],
controllers: [AppController],
providers: [
Expand Down
5 changes: 1 addition & 4 deletions apps/server/src/health/HealthController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 4 additions & 2 deletions apps/web/src/pages/tx/[tid].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- "apps/*"
- "packages/*"
- "packages/*"

0 comments on commit 906d6e9

Please sign in to comment.