+ {keys.map((key) => {
+ const setting = settingsState?.settings?.find(
+ (s: any) => s.key === key
+ );
+ return (
+
+ {setting ? (
+
+ ) : (
+
+ Setting {key} not found
+
+ )}
+
+ );
+ })}
+
+ >
+ );
+}
+
+export function UserSettingList({ keys }: { keys: string[] }) {
+ const userSettings = useUserSettingsState();
+
+ return