[Plugins] Minor but necessary fixes

This commit is contained in:
Beef 2023-01-04 08:01:56 +00:00
parent 5c4026685e
commit 57df878f65
2 changed files with 8 additions and 8 deletions

View file

@ -36,7 +36,6 @@ export default function PluginCard({ plugin }: PluginCardProps) {
<FormSwitch
value={plugin.enabled}
onValueChange={(v: boolean) => {
alert(v);
if (v) startPlugin(plugin.id); else stopPlugin(plugin.id);
setEnabled(v);
}}