fix: notes page default domain should be empty (fetched from API)

This commit is contained in:
2026-07-28 13:57:20 +00:00
parent 80834ef121
commit b76ba9f5c0
+1 -1
View File
@@ -65,7 +65,7 @@ interface Backlink {
export default function NotesPage() {
const [notes, setNotes] = useState<Note[]>([]);
const [selectedNote, setSelectedNote] = useState<Note | null>(null);
const [domainForCreate, setDomainForCreate] = useState('personal');
const [domainForCreate, setDomainForCreate] = useState('');
const [domainOptions, setDomainOptions] = useState<{id: string; name: string}[]>([]);
const [backlinks, setBacklinks] = useState<Backlink[]>([]);
const [loading, setLoading] = useState(true);