update endPoints

This commit is contained in:
2024-08-21 13:03:50 +05:30
parent 670e4d36a9
commit fb39e32b95
4 changed files with 71 additions and 53 deletions

View File

@@ -38,6 +38,7 @@ const CurrencyInput = forwardRef(({ value, onChange, ...props }, ref) => {
{...props}
ref={ref} // Forward ref here
type="text"
colorScheme='forestGreen'
value={formatCurrency(value)}
onChange={handleChange}
/>

View File

@@ -20,6 +20,7 @@ const DataTable = ({
tableHeadRow,
emptyMessage,
centered,
total
}) => {
console.log(data);
@@ -34,7 +35,7 @@ const DataTable = ({
<EmptySearchList message={emptyMessage} />
) : (
<Table size="sm">
<TableCaption>Tanami v1.0.0</TableCaption>
<TableCaption p={total?0:null}>{total? total :"Tanami v1.0.0"}</TableCaption>
<Thead backgroundColor="gray.50">
<Tr>
{tableHeadRow.map((heading, index) => (