Execute oxfmt (#1166)

Ran
pnpm oxfmt .

This should get the web repo aligned so that we can better enforce oxfmt going forward.
This commit is contained in:
Austin
2026-06-16 20:30:08 -04:00
committed by GitHub
parent c5690d1edb
commit d2cb51d489
378 changed files with 5548 additions and 1974 deletions
+16 -6
View File
@@ -107,7 +107,9 @@ export const DeviceInfoPanel = ({
label: t("batteryVoltage.title"),
icon: ZapIcon,
value:
voltage !== undefined ? `${voltage?.toPrecision(3)} V` : t("unknown.notAvailable", "N/A"),
voltage !== undefined
? `${voltage?.toPrecision(3)} V`
: t("unknown.notAvailable", "N/A"),
},
{
id: "firmware",
@@ -205,7 +207,9 @@ export const DeviceInfoPanel = ({
</button>
)}
{!isCollapsed && <div className="my-2 h-px bg-gray-200 dark:bg-gray-700 flex-shrink-0" />}
{!isCollapsed && (
<div className="my-2 h-px bg-gray-200 dark:bg-gray-700 flex-shrink-0" />
)}
<div
className={cn(
@@ -237,7 +241,9 @@ export const DeviceInfoPanel = ({
})}
</div>
{!isCollapsed && <div className="my-2 h-px bg-gray-200 dark:bg-gray-700 flex-shrink-0" />}
{!isCollapsed && (
<div className="my-2 h-px bg-gray-200 dark:bg-gray-700 flex-shrink-0" />
)}
<div
className={cn(
@@ -251,7 +257,9 @@ export const DeviceInfoPanel = ({
{actionButtons.map((buttonItem) => {
const Icon = buttonItem.icon;
if (buttonItem.render) {
return <Fragment key={buttonItem.id}>{buttonItem.render()}</Fragment>;
return (
<Fragment key={buttonItem.id}>{buttonItem.render()}</Fragment>
);
}
return (
<Button
@@ -273,7 +281,8 @@ export const DeviceInfoPanel = ({
"flex-shrink-0 w-4",
"text-gray-500 dark:text-gray-400",
"transition-colors duration-150",
!disableHover && "group-hover:text-gray-700 dark:group-hover:text-gray-200",
!disableHover &&
"group-hover:text-gray-700 dark:group-hover:text-gray-200",
)}
/>
<Subtle
@@ -281,7 +290,8 @@ export const DeviceInfoPanel = ({
"text-sm",
"text-gray-600 dark:text-gray-300",
"transition-colors duration-150",
!disableHover && "group-hover:text-gray-800 dark:group-hover:text-gray-100",
!disableHover &&
"group-hover:text-gray-800 dark:group-hover:text-gray-100",
)}
>
{buttonItem.label}