1
0
mirror of https://github.com/covidpass-org/covidpass.git synced 2025-02-21 14:10:38 +01:00

Dropped unneeded new packages, moved GPay pass download to window.location.href rather than React Router

This commit is contained in:
Ryan Slobojan 2021-10-20 15:49:19 -04:00
parent 28e482911b
commit bb7b8c75d1
2 changed files with 1 additions and 4 deletions

View File

@ -15,7 +15,6 @@ import {isIOS, isMacOs, isAndroid, isSafari, osVersion, getUA, browserName, brow
import * as Sentry from '@sentry/react';
import Bullet from './Bullet';
import { GPayData } from '../src/gpay';
import Router from 'next/router'
import Select from 'react-select'
@ -379,7 +378,7 @@ function Form(): JSX.Element {
// saveAs(passBlob, covidPassFilename);
setSaveLoading(false);
Router.push(newUrl);
window.location.href = newUrl;
}

View File

@ -15,7 +15,6 @@
"path": false
},
"dependencies": {
"@google-pay/button-react": "^3.0.0",
"@headlessui/react": "^1.3.0",
"@ninja-labs/verify-pdf": "^0.3.9",
"@nuintun/qrcode": "^3.0.1",
@ -50,7 +49,6 @@
"react": "^17.0.2",
"react-device-detect": "^1.17.0",
"react-dom": "^17.0.2",
"react-router-dom": "^5.3.0",
"react-select": "^5.1.0",
"string.prototype.startswith": "^1.0.0",
"tls": "^0.0.1",