AI Indicator <3

This commit is contained in:
meoware.exe committed 2026-10-11 21:59:04 +11:00
1 parent 0f6c70017c
commit edb5c06315
11 files changed
+196 -151

No files matched your search

+1 -1
View File
@@ -210,7 +210,7 @@ export const Settings = () => {
window.updateRadiantLyricsBackdrop?.();
};
// Derive props and override onChange to accept a broader first param type
// Loosen onChange's first param type
type BaseSwitchProps = React.ComponentProps<typeof LunaSwitchSetting>;
type AnySwitchProps = Omit<BaseSwitchProps, "onChange"> & {
onChange: (_: unknown, checked: boolean) => void;