Commit suggestion

Co-authored-by: Wolfsblvt <wolfsblvt@gmail.com>
This commit is contained in:
Cohee 2024-09-20 00:26:29 +03:00 committed by GitHub
parent 6fb6400168
commit 986d33fcdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,7 +105,7 @@ function toggleSystemPromptCallback(_args, state) {
}
const newState = isTrueBoolean(state);
newState ? setSystemPromptStateCallback(true) : setSystemPromptStateCallback(false);
setSystemPromptStateCallback(newState);
return String(power_user.sysprompt.enabled);
}