Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/RegisterIns.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ const RegisterIns = () => {
</button>
</div>
</form>
<div className="py-4 px-6 bg-white text-gray-850 rounded-lg" value={policyId} onChange={""} onClick={""}>
<div className="py-4 px-6 bg-white text-gray-850 rounded-lg">
{policyId}
</div>
</div>
Expand Down
15 changes: 14 additions & 1 deletion src/components/utils/Claim.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const Claim = () => {
setError(validate);
return;
}
const baseUrl = "http://34.125.194.30:9080/baby_chain/private/claim_ins/";
const baseUrl = "http://34.125.194.30:9080/baby_chain/private/claim_ins";
await axios
.post(baseUrl, data)
.then((response) => {
Expand All @@ -74,6 +74,19 @@ export const Claim = () => {
return (
<>
<Navbar />
<ToastContainer
position="top-right"
autoClose={2000}
hideProgressBar={false}
newestOnTop={false}
closeOnClick
rtl={false}
pauseOnFocusLoss
draggable
pauseOnHover
theme="light"
transition={Slide}
/>
<div class="bg-white min-h-screen flex items-center justify-center font-poppins p-4">
<div className=" w-full md:w-4/5 bg-blue-500 p-10 flex rounded-lg shadow-xl ">
<div class="w-full h-full">
Expand Down