Remove nesting from SecondaryInfo

This commit is contained in:
Marley 2023-07-13 16:40:11 -07:00
parent ce1f8d2670
commit 7aae800a01
2 changed files with 2 additions and 4 deletions

View file

@ -33,7 +33,7 @@ const patrons = [
<tr v-for="(patron, index) in patrons" :key="index">
<TableTd>
<div>{{ patron.name }}</div>
<StateSecondaryInfo>{{ patron.email }}</StateSecondaryInfo>
<SecondaryInfo>{{ patron.email }}</SecondaryInfo>
</TableTd>
<TableTd>
@ -44,9 +44,7 @@ const patrons = [
<TableTd>
<div>{{ patron.checkedOut }} books</div>
<StateSecondaryInfo>
{{ patron.overdue }} overdue
</StateSecondaryInfo>
<SecondaryInfo>{{ patron.overdue }} overdue</SecondaryInfo>
</TableTd>
<TableTd>