Skip to content

Commit

Permalink
Fix get wallet url.
Browse files Browse the repository at this point in the history
  • Loading branch information
gasher committed Sep 26, 2024
1 parent 799fa81 commit 708e453
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ import { SERVER_URL } from 'utils/constants';
export default function Wallet() {
const { Canvas } = useQRCode();
const qrCodeSize = 400;
const walletUrl = `https://${SERVER_URL}/api/getwallet`;
const walletUrl = `https://${SERVER_URL.replace('https://', '')}/api/getwallet`;
return (
<>
<Head>
<title>Quotient Wallet</title>
</Head>
<Header />
<div className="mb-4 mt-2">
<h2 className="font-medium text-3xl text-slate-700">Get the Quotient Wallet</h2>
<div className="mt-2 mb-4">
<h2 className="text-3xl font-medium text-slate-700">Get the Quotient Wallet</h2>
<p className="text-xl">
Scan the QR code to download the Quotient Wallet for Android or iOS.
</p>

<div className="m-auto rounded-lg overflow-hidden flex justify-center">
<div className="flex justify-center m-auto overflow-hidden rounded-lg">
<Canvas
text={walletUrl}
options={{
Expand Down

0 comments on commit 708e453

Please sign in to comment.