chore: show table even with no devices
This commit is contained in:
parent
a6f741d4db
commit
0a5b86140c
|
|
@ -33,7 +33,7 @@ const Page = () => {
|
|||
.catch(error => console.error('Error:', error));
|
||||
}, [auth.user]);
|
||||
|
||||
return (devices &&
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ export const OverviewLatestOrders = (props) => {
|
|||
</TableRow>
|
||||
</TableHead>
|
||||
<TableBody>
|
||||
{orders.map((order) => {
|
||||
{orders && orders.map((order) => {
|
||||
|
||||
return (
|
||||
<TableRow
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user