Skip to content

Commit

Permalink
remove config download
Browse files Browse the repository at this point in the history
  • Loading branch information
devsisingh committed Jan 30, 2024
1 parent 581bc21 commit 371c4ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
14 changes: 5 additions & 9 deletions components/Myvpncard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,22 +157,18 @@ const MyVpnCard: React.FC<ReviewCardProps> = ({

<div className="lg:flex md:flex justify-between w-1/4">
<div>
<button className="text-lg rounded-lg pr-1 text-white">
<div className="text-lg rounded-lg pr-1 text-white">
<div style={color2}>{metaData.name}</div>
</button>
</div>
</div>
</div>

<div className="text-white text-lg w-1/4 btn bg-blue-gray-700 text-center">
<div className="">
<div className="cursor-pointer" onClick={() => {}}>
<button
onClick={() => {
setqr(true);
}}
>
<div>
<div>
{metaData.region}
</button>
</div>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions pages/subscription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ const Subscription = () => {
setConfigFile(configFile);
setverify(true);
setValueFromChild2("refreshafterclientcreate");
} else if(response.status === 400){
setMsg("Cant create more than 3 clients");
// } else if(response.status === 400){
// setMsg("Cant create more than 3 clients");
}
else{
setMsg("Failed to create VPN. Try with unique name.");
Expand Down

0 comments on commit 371c4ba

Please sign in to comment.