We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5188a commit 554f346Copy full SHA for 554f346
src/pages/Events/EventQRCode.tsx
@@ -1,3 +1,4 @@
1
+/* eslint-disable @typescript-eslint/restrict-template-expressions */
2
import React, { useRef } from 'react';
3
import { QRCodeSVG } from 'qrcode.react';
4
import { Button } from '@chakra-ui/react';
@@ -23,7 +24,7 @@ const EventQRCode: React.FC<EventQRCodeProps> = ({
23
24
? 'http://127.0.0.1:8080' // development frontend URL
25
: 'https://points.illinoiswcs.org'; // production frontend URL
26
- const loadingUrl = `${baseUrl}/success`; // redirect
27
+ const loadingUrl = `${baseUrl}/loading/${eventKey}`;
28
29
// download as svg
30
const downloadSVG = (): void => {
0 commit comments