Skip to content

Commit 554f346

Browse files
committed
change route
1 parent 6c5188a commit 554f346

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/Events/EventQRCode.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/restrict-template-expressions */
12
import React, { useRef } from 'react';
23
import { QRCodeSVG } from 'qrcode.react';
34
import { Button } from '@chakra-ui/react';
@@ -23,7 +24,7 @@ const EventQRCode: React.FC<EventQRCodeProps> = ({
2324
? 'http://127.0.0.1:8080' // development frontend URL
2425
: 'https://points.illinoiswcs.org'; // production frontend URL
2526

26-
const loadingUrl = `${baseUrl}/success`; // redirect
27+
const loadingUrl = `${baseUrl}/loading/${eventKey}`;
2728

2829
// download as svg
2930
const downloadSVG = (): void => {

0 commit comments

Comments
 (0)