aboutsummaryrefslogtreecommitdiff
path: root/src/components/Display
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-15 12:25:46 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-06-15 12:25:46 +0530
commitea88466fda6c719caa9daae5ea4698565fa84426 (patch)
treecf643b82c43a1724aaa3676fcd7f19e386b9435c /src/components/Display
parent37ead7ea9ca1e0c435c57866c289917e0f488459 (diff)
fixed some errors in SelectClientForm
Diffstat (limited to 'src/components/Display')
-rw-r--r--src/components/Display/ClientInfoDisplay.js16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/components/Display/ClientInfoDisplay.js b/src/components/Display/ClientInfoDisplay.js
index 34f001b..7eb46d2 100644
--- a/src/components/Display/ClientInfoDisplay.js
+++ b/src/components/Display/ClientInfoDisplay.js
@@ -10,10 +10,20 @@ import React from "react";
import "./Display.scss";
const ClientInfoDisplay = (props) => {
+ //console.log(props.client)
return (
- <div>
- Client Name: {props.client.Name}
- </div>
+ <table>
+ <tbody>
+ <tr>
+ <td>Client Name:</td>
+ <td>{props.client.Name}</td>
+ </tr>
+ <tr>
+ <td>Client Address:</td>
+ <td>{props.client.Address}</td>
+ </tr>
+ </tbody>
+ </table>
);
}