Error & formating fixes

This commit is contained in:
Tilen Komel
2024-08-21 17:41:24 +02:00
parent 8bb0a96744
commit cf423620c4
9 changed files with 47 additions and 30 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ export const Sidebar = ({ children }: SidebarProps): JSX.Element => {
<div className="flex items-center">
<ZapIcon size={24} viewBox={"0 0 36 24"} />
<Subtle>
{myNode?.deviceMetrics?.voltage.toPrecision(3) ?? "UNK"} volts
{myNode?.deviceMetrics?.voltage?.toPrecision(3) ?? "UNK"} volts
</Subtle>
</div>
<div className="flex items-center">