tableUpdated
This commit is contained in:
@@ -60,20 +60,20 @@ const DataTable = ({
|
||||
<Tbody className="web-text-small">
|
||||
{ data?.map((item, index) => (
|
||||
<Tr
|
||||
// onMouseEnter={(e) => {
|
||||
// e.currentTarget.style.backgroundColor = "transparent"; // Change the background color on hover
|
||||
// e.currentTarget.style.transition = "0.1s";
|
||||
// e.currentTarget.style.boxShadow =
|
||||
// "rgba(0, 0, 0, 0.24) 0px 1px 8px";
|
||||
// setMouseEntered(true);
|
||||
// setMouseEnteredId(item.id);
|
||||
// }}
|
||||
// onMouseLeave={(e) => {
|
||||
// e.currentTarget.style.backgroundColor = "transparent"; // Revert to default background color on hover out
|
||||
// e.currentTarget.style.transition = "0.3s";
|
||||
// e.currentTarget.style.boxShadow = "none";
|
||||
// setMouseEntered(false);
|
||||
// }}
|
||||
onMouseEnter={(e) => {
|
||||
e.currentTarget.style.backgroundColor = "transparent"; // Change the background color on hover
|
||||
e.currentTarget.style.transition = "0.1s";
|
||||
e.currentTarget.style.boxShadow =
|
||||
"rgba(0, 0, 0, 0.24) 0px 1px 8px";
|
||||
setMouseEntered(true);
|
||||
setMouseEnteredId(item.id);
|
||||
}}
|
||||
onMouseLeave={(e) => {
|
||||
e.currentTarget.style.backgroundColor = "transparent"; // Revert to default background color on hover out
|
||||
e.currentTarget.style.transition = "0.3s";
|
||||
e.currentTarget.style.boxShadow = "none";
|
||||
setMouseEntered(false);
|
||||
}}
|
||||
transition={"0.5s all"}
|
||||
_hover={{
|
||||
bg: "green.50",
|
||||
|
||||
@@ -117,7 +117,7 @@ const CreateIO = () => {
|
||||
console.log(errors);
|
||||
|
||||
const onSubmit = (data) => {
|
||||
console.log(data?.targetClose);
|
||||
console.log(data);
|
||||
navigate("/view-io");
|
||||
reset();
|
||||
};
|
||||
@@ -205,7 +205,7 @@ const removeOtherImage = (index) => {
|
||||
isRequired={true}
|
||||
/>
|
||||
|
||||
{/* <FormField
|
||||
<FormField
|
||||
label="Year"
|
||||
control={control}
|
||||
name="year"
|
||||
@@ -213,7 +213,7 @@ const removeOtherImage = (index) => {
|
||||
options={years}
|
||||
errors={errors}
|
||||
isRequired={true}
|
||||
/> */}
|
||||
/>
|
||||
|
||||
<FormField
|
||||
label="Sponsers Name"
|
||||
|
||||
@@ -54,7 +54,7 @@ const InvestorDetails = () => {
|
||||
// ====================================================[Table Setup]================================================================
|
||||
const tableHeadRow = [
|
||||
"Sr N/O",
|
||||
"IO Name",
|
||||
"Investor Name",
|
||||
"Sponsor",
|
||||
"Investment Amount",
|
||||
"Action",
|
||||
@@ -102,7 +102,7 @@ const InvestorDetails = () => {
|
||||
{item.id}
|
||||
</Text>
|
||||
),
|
||||
"IO Name": (
|
||||
"Investor Name": (
|
||||
<Box w={"auto"} isTruncated={true}>
|
||||
<Text as={"span"} color={"teal.900"}>
|
||||
{item.InvestorName}
|
||||
@@ -125,7 +125,7 @@ const InvestorDetails = () => {
|
||||
// />
|
||||
<Box w={"auto"} isTruncated={true}>
|
||||
<Text as={"span"} color={"teal.900"}>
|
||||
{item.InvestmentAmount}
|
||||
{item.InvestmentAmount} $
|
||||
</Text>
|
||||
</Box>
|
||||
),
|
||||
|
||||
@@ -138,7 +138,7 @@ const EditExchangeRate = ({ id, setIsLoading }) => {
|
||||
</FormControl>
|
||||
|
||||
<FormControl mb={4}>
|
||||
<FormLabel fontSize={"sm"}>Rate</FormLabel>
|
||||
<FormLabel fontSize={"sm"}>Exchange rate</FormLabel>
|
||||
<Input
|
||||
type="number"
|
||||
placeholder="Type rate here..."
|
||||
|
||||
Reference in New Issue
Block a user