+
+ {label}
+ {/* {subtext} */}
+
+ option}
+ defaultValue={[...value]}
+ onChange={(e, newval, reason) => {
+ console.log("onChange", newval, reason);
+ onChange(newval);
+ }}
+ />
+
+ );
+}
+
+export default function ConfigModal({ open, onClose }) {
+ const blurNsfw = useSelector(selectBlurNsfw);
+ const showAvatars = useSelector(selectShowAvatars);
+ const nsfwWords = useSelector(selectNsfwWords);
+
+ const dispatch = useDispatch();
+
+ return (
+