Skip to content

Commit 8625b55

Browse files
committed
chore: switch to template literal
1 parent 94573d2 commit 8625b55

File tree

1 file changed

+1
-1
lines changed
  • web/src/components/DisputeView/DisputeInfo

1 file changed

+1
-1
lines changed

web/src/components/DisputeView/DisputeInfo/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const DisputeInfo: React.FC<IDisputeInfo> = ({
9595
{
9696
icon: CalendarIcon,
9797
name: getPeriodPhrase(period ?? 0),
98-
value: !displayAsList ? new Date(date * 1000).toLocaleString() + " (Local Time)" : formatDate(date),
98+
value: !displayAsList ? `${new Date(date * 1000).toLocaleString()} (Local Time)` : formatDate(date),
9999
display: !isUndefined(period) && !isUndefined(date),
100100
style: "grid-column: 2 / 4;",
101101
},

0 commit comments

Comments
 (0)