Commit 29e48e51 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

show something when address is empty

parent 39b192c9
...@@ -48,7 +48,11 @@ export default function Profile() { ...@@ -48,7 +48,11 @@ export default function Profile() {
</TableRow> </TableRow>
<TableRow> <TableRow>
<TableCell sx={{ maxWidth }}>ที่อยู่</TableCell> <TableCell sx={{ maxWidth }}>ที่อยู่</TableCell>
<TableCell>{user.value.address}</TableCell> <TableCell>
{!!user.value.address
? user.value.address
: "ยังไม่ระบุ"}
</TableCell>
</TableRow> </TableRow>
</TableBody> </TableBody>
</Table> </Table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment