mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-17 14:10:14 +02:00
fix: correct propagation on settings menu (#1453)
* fix propagation error on settings menu
This commit is contained in:
@@ -95,7 +95,10 @@ const AutoDJButton = () => {
|
||||
|
||||
return (
|
||||
<Button
|
||||
onClick={toggleAutoDJ}
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
toggleAutoDJ();
|
||||
}}
|
||||
size="compact-xs"
|
||||
style={{ color: settings.enabled ? 'var(--theme-colors-primary)' : undefined }}
|
||||
uppercase
|
||||
|
||||
Reference in New Issue
Block a user