Browse Source

linting fixes

pull/213/head
Hunter Thornsberry 2 years ago
parent
commit
b24c9312c4
  1. 7
      src/components/Sidebar.tsx

7
src/components/Sidebar.tsx

@ -5,6 +5,7 @@ import { useDevice } from "@core/stores/deviceStore.js";
import type { Page } from "@core/stores/deviceStore.js"; import type { Page } from "@core/stores/deviceStore.js";
import { import {
BatteryMediumIcon, BatteryMediumIcon,
CpuIcon,
EditIcon, EditIcon,
LayersIcon, LayersIcon,
type LucideIcon, type LucideIcon,
@ -13,7 +14,6 @@ import {
SettingsIcon, SettingsIcon,
UsersIcon, UsersIcon,
ZapIcon, ZapIcon,
CpuIcon
} from "lucide-react"; } from "lucide-react";
export interface SidebarProps { export interface SidebarProps {
@ -89,8 +89,8 @@ export const Sidebar = ({ children }: SidebarProps): JSX.Element => {
</Subtle> </Subtle>
</div> </div>
<div className="flex items-center"> <div className="flex items-center">
<CpuIcon size={24} viewBox={'0 0 36 24'}/> <CpuIcon size={24} viewBox={"0 0 36 24"} />
<Subtle>v{ myMetadata?.firmwareVersion ?? "UNK"}</Subtle> <Subtle>v{myMetadata?.firmwareVersion ?? "UNK"}</Subtle>
</div> </div>
</div> </div>
@ -111,4 +111,3 @@ export const Sidebar = ({ children }: SidebarProps): JSX.Element => {
</div> </div>
); );
}; };

Loading…
Cancel
Save