mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 05:29:12 +00:00
Set chatSidebar prompt, Setting name fields to empty str if value null
TextArea and Input field values cannot be null.
This commit is contained in:
@@ -746,7 +746,7 @@ export default function SettingsView() {
|
||||
<Input
|
||||
type="text"
|
||||
onChange={(e) => setName(e.target.value)}
|
||||
value={name}
|
||||
value={name || ""}
|
||||
className="w-full border border-gray-300 rounded-lg p-4 py-6"
|
||||
/>
|
||||
</CardContent>
|
||||
|
||||
Reference in New Issue
Block a user