Apply the auto-fixable lint rules and the formatter, and drop the Vite build artifacts.
Checks / checks (push) Successful in 2m11s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-01 04:23:53 +11:00
parent 3cd159a63e
commit a6ad8651b3
605 changed files with 11480 additions and 9125 deletions
@@ -40,10 +40,7 @@ interface PluginButtonSlotProps {
location: UILocation;
}
function renderPluginButtonIcon(button: {
icon?: string;
lucideIcon?: string;
}): React.ReactNode {
function renderPluginButtonIcon(button: { icon?: string; lucideIcon?: string }): React.ReactNode {
const lucideName =
button.lucideIcon ??
(typeof button.icon === 'string' && button.icon.startsWith('lucide:')
@@ -55,9 +52,12 @@ function renderPluginButtonIcon(button: {
}
if (lucideName) {
const IconComponent = (lucide as Record<string, React.ComponentType<{ size?: number; strokeWidth?: number }> | undefined>)[
lucideName
];
const IconComponent = (
lucide as Record<
string,
React.ComponentType<{ size?: number; strokeWidth?: number }> | undefined
>
)[lucideName];
if (IconComponent) {
return <IconComponent size={18} strokeWidth={2} aria-hidden />;
}