revert: remove unnecessary themeOverride params from theme functions
The optional theme parameter was added as a workaround for tsx dev mode, but that's a dev-only issue. Users running the built package don't need it.
This commit is contained in:
@@ -91,7 +91,7 @@ export default function toolsHook(pi: HookAPI) {
|
||||
const settingsList = new SettingsList(
|
||||
items,
|
||||
Math.min(items.length + 2, 15),
|
||||
getSettingsListTheme(theme),
|
||||
getSettingsListTheme(),
|
||||
(id, newValue) => {
|
||||
// Update enabled state and apply immediately
|
||||
if (newValue === "enabled") {
|
||||
|
||||
Reference in New Issue
Block a user