refactor: optimize conditional rendering in page.tsx #428
Annotations
9 errors
format
commune-worker#format: command (/home/runner/work/commune-ts/commune-ts/apps/commune-worker) /home/runner/setup-pnpm/node_modules/.bin/pnpm run format --cache --cache-location node_modules/.cache/.prettiercache exited (1)
|
format
Process completed with exit code 1.
|
typecheck
Type 'string' is not assignable to type '"id" | "emission" | "incentive" | "delegationFee" | "totalStaked" | "totalStakers" | "dividend" | "totalRewards" | "createdAt" | undefined'.
|
typecheck
Type 'string' is not assignable to type '"id" | "founderShare" | "incentiveRatio" | "minValidatorStake" | "proposalRewardTreasuryAllocation" | "createdAt" | undefined'.
|
typecheck
commune-validator#typecheck: command (/home/runner/work/commune-ts/commune-ts/apps/commune-validator) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
typecheck
Process completed with exit code 2.
|
lint:
apps/commune-worker/src/discord.ts#L3
'webhookUrl' is assigned a value but never used. Allowed unused vars must match /^_/u
|
lint
commune-worker#lint: command (/home/runner/work/commune-ts/commune-ts/apps/commune-worker) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint --cache --cache-location node_modules/.cache/.eslintcache exited (1)
|
lint
Process completed with exit code 1.
|