Skip to content

Commit e80b270

Browse files
authored
Merge pull request #27 from Health-Informatics-UoN/refactor/notecard
show description by default
2 parents b2341e7 + 27f7cff commit e80b270

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

components/NoteCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default function NoteCard({
9090
</Link>
9191
) : (
9292
<p className="text-sm text-gray-400">
93-
Loading article...
93+
Loading Case Reports...
9494
</p>
9595
)}
9696
</CardTitle>
@@ -104,7 +104,7 @@ export default function NoteCard({
104104

105105
<CardContent className="flex flex-wrap items-center gap-2 md:flex-row">
106106
{article ? (
107-
<Collapsible className="w-full rounded-md data-[state=open]:bg-muted">
107+
<Collapsible defaultOpen={true} className="w-full rounded-md data-[state=open]:bg-muted">
108108
<CollapsibleTrigger asChild>
109109
<Button
110110
variant="ghost"
@@ -122,7 +122,7 @@ export default function NoteCard({
122122
</Collapsible>
123123
) : (
124124
<p className="text-sm text-gray-400">
125-
Loading article...
125+
Loading Case Reports...
126126
</p>
127127
)}
128128
</CardContent>

0 commit comments

Comments
 (0)