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