Commit suggestion Co-authored-by: Wolfsblvt <wolfsblvt@gmail.com>
Signed| @@ -105,7 +105,7 @@ function toggleSystemPromptCallback(_args, state) { | ||
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | const newState = isTrueBoolean(state); |
| 108 | - newState ? setSystemPromptStateCallback(true) : setSystemPromptStateCallback(false); | |
| 108 | + setSystemPromptStateCallback(newState); | |
| 109 | 109 | return String(power_user.sysprompt.enabled); |
| 110 | 110 | } |
| 111 | 111 | |