Skip to content

Commit

Permalink
Issue #377 - Remove formatAndDelocalizeFromTime on votes_updated_at
Browse files Browse the repository at this point in the history
  • Loading branch information
delrifai committed Nov 20, 2024
1 parent 3b364ba commit 3615585
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hooks/api/common/useWitnessDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const useWitnessDetails = (accountName: string, isWitness: boolean) => {
const selectFunction = (witnessData: Hive.SingleWitnessResponse) => {
const witness = {
...witnessData,
votes_updated_at: formatAndDelocalizeFromTime(
witnessData.votes_updated_at
),
votes_updated_at: witnessData.votes_updated_at,
vests: hiveChain?.vests(witnessData.witness.vests),
hbd_interest_rate: formatPercent(witnessData.witness.hbd_interest_rate),
votes_daily_change: hiveChain?.vests(
Expand Down

0 comments on commit 3615585

Please sign in to comment.