Skip to content

Commit

Permalink
chore: switch to template literal
Browse files Browse the repository at this point in the history
  • Loading branch information
kemuru committed Nov 29, 2024
1 parent 94573d2 commit 8625b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/DisputeView/DisputeInfo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const DisputeInfo: React.FC<IDisputeInfo> = ({
{
icon: CalendarIcon,
name: getPeriodPhrase(period ?? 0),
value: !displayAsList ? new Date(date * 1000).toLocaleString() + " (Local Time)" : formatDate(date),
value: !displayAsList ? `${new Date(date * 1000).toLocaleString()} (Local Time)` : formatDate(date),
display: !isUndefined(period) && !isUndefined(date),
style: "grid-column: 2 / 4;",
},
Expand Down

0 comments on commit 8625b55

Please sign in to comment.