refactor: Update source code with the NPCI and CBS API

This commit is contained in:
2025-08-25 14:21:40 +05:30
parent 78426747e5
commit 671ea780b3
16 changed files with 392 additions and 173 deletions

View File

@@ -192,14 +192,14 @@ const AddBeneficiary: React.FC = () => {
<Paper shadow="sm" radius="md" p="md" withBorder h={400}>
<Title order={3} mb="md">Add Beneficiary</Title>
<Radio.Group value={bankType} onChange={setBankType} name="bankType" withAsterisk mb="md">
{/* <Radio.Group value={bankType} onChange={setBankType} name="bankType" withAsterisk mb="md">
<Group justify="center">
<Radio value="own" label="Own Bank" />
<Radio value="outside" label="Outside Bank" />
</Group>
</Radio.Group>
</Radio.Group> */}
{bankType === "own" ? (
{/* {bankType === "own" ? (
<Grid gutter="md">
<Grid.Col span={4}>
<Select
@@ -310,11 +310,11 @@ const AddBeneficiary: React.FC = () => {
</>
)}
</Grid>
) : (
) : ( */}
<Grid gutter="md">
<AddBeneficiaryOthers />
</Grid>
)}
{/* )} */}
</Paper>
);
};