type issue

This commit is contained in:
Craig Lawson committed 2026-01-10 22:30:03 +00:00
1 parent 526fa24eab
commit 12b28ffb3f
1 file changed
+6
+6
View File
@@ -93,6 +93,12 @@ const Settings = () => {
) {
newValue = checked;
}
// Ensure showURL is a proper boolean
if (name === "showURL") {
newValue = value === true || value === "true";
}
// Build next state early
const newSettingsData = {
...settingsData,