Skip to content

Commit 424afca

Browse files
committed
Lint
1 parent 1a24212 commit 424afca

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/labextension/src/widget.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,12 @@ const KernelUsage = (props: {
186186
</h4>
187187
{usage.host_cpu_percent && (
188188
<div className="jp-KernelUsage-separator">
189-
{props.trans._n('%2%% used on %1 CPU', '%2%% used on %1 CPUs', usage.cpu_count, usage.host_cpu_percent.toFixed(1))}
189+
{props.trans._n(
190+
'%2%% used on %1 CPU',
191+
'%2%% used on %1 CPUs',
192+
usage.cpu_count,
193+
usage.host_cpu_percent.toFixed(1)
194+
)}
190195
</div>
191196
)}
192197
<h4 className="jp-KernelUsage-section-separator">

0 commit comments

Comments
 (0)