Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/src/pages/user/pages/Dashboard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function DashboardPage() {

{/* Loading */}
{loadingQueries && (
<div className="flex items-center gap-2 py-8 text-[13px] text-text-muted">
<div className="flex items-center gap-2 py-4 text-[13px] text-text-muted">
<span className="h-4 w-4 animate-spin rounded-full border-2 border-border border-t-[#8c6a40]" />
Searching…
</div>
Expand All @@ -181,7 +181,7 @@ function DashboardPage() {
)}

{/* Cards */}
{!loadingQueries && filtered.map(query => (
{filtered.length > 0 && filtered.map(query => (
<QuestionCard
key={query.id}
query={query}
Expand Down