diff --git a/next.config.js b/next.config.js index 27ceae63f..ce7a3e716 100644 --- a/next.config.js +++ b/next.config.js @@ -212,11 +212,6 @@ module.exports = { destination: '/redeem/stackcommerce', permanent: false, }, - { - source: '/driffle', - destination: '/redeem/driffle', - permanent: false, - }, { source: '/special-offer/:filename', destination: '/specialoffer/:filename', diff --git a/package.json b/package.json index 5b5d57ed5..73f89fc66 100644 --- a/package.json +++ b/package.json @@ -110,6 +110,10 @@ }, "resolutions": { "**/js-yaml": "^4.1.1", + "@emotion/react/**/yaml": "1.10.3", + "@emotion/styled/**/yaml": "1.10.3", + "@svgr/webpack/**/yaml": "1.10.3", + "react-select/**/yaml": "1.10.3", "nyc": "^17.1.0", "form-data": "^4.0.4", "tar": "^7.5.7", diff --git a/src/components/auth/SignUp.tsx b/src/components/auth/SignUp.tsx index 08eec8ec6..6245765dd 100644 --- a/src/components/auth/SignUp.tsx +++ b/src/components/auth/SignUp.tsx @@ -11,7 +11,7 @@ import { signup } from '@/lib/auth'; interface SignUpProps { textContent: any; loading?: boolean; - provider?: 'STACKCOMMERCE' | 'TECHCULT' | 'DEALMIRROR' | 'MIGHTYDEALS' | 'OYSTERVPN' | 'COINGATE' | 'DRIFFLE'; + provider?: 'STACKCOMMERCE' | 'TECHCULT' | 'DEALMIRROR' | 'MIGHTYDEALS' | 'OYSTERVPN' | 'COINGATE' ; } export default function SignUp(props: Readonly) { diff --git a/src/components/home/TrustedSection.tsx b/src/components/home/TrustedSection.tsx index e4a7f481a..21582ea90 100644 --- a/src/components/home/TrustedSection.tsx +++ b/src/components/home/TrustedSection.tsx @@ -59,7 +59,7 @@ export default function TrustedSection({ return (
)} -

+

{groups.map((group, i) => ( - {group} + {i > 0 ? ' ' : ''}{group} ))}

diff --git a/src/pages/redeem/[filename].tsx b/src/pages/redeem/[filename].tsx index 017c028e3..378f81a48 100644 --- a/src/pages/redeem/[filename].tsx +++ b/src/pages/redeem/[filename].tsx @@ -21,7 +21,7 @@ interface RedeemPageProps { lang: string; } -const ALLOWED_PATHS = ['stackcommerce', 'coingate', 'driffle']; +const ALLOWED_PATHS = ['stackcommerce', 'coingate']; const SpecialOfferPage = ({ metatagsDescriptions, @@ -48,7 +48,7 @@ const SpecialOfferPage = ({ setOpenDialog(true); }; - const ALLOWED_PROVIDERS = ['STACKCOMMERCE', 'COINGATE', 'DRIFFLE'] as const; + const ALLOWED_PROVIDERS = ['STACKCOMMERCE', 'COINGATE'] as const; type Provider = typeof ALLOWED_PROVIDERS[number]; diff --git a/yarn.lock b/yarn.lock index b0c2397dc..e947bd172 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9420,10 +9420,10 @@ yallist@^5.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-5.0.0.tgz#00e2de443639ed0d78fd87de0d27469fbcffb533" integrity sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw== -yaml@^1.10.0: - version "1.10.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" - integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== +yaml@1.10.3, yaml@^1.10.0: + version "1.10.3" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.3.tgz#76e407ed95c42684fb8e14641e5de62fe65bbcb3" + integrity sha512-vIYeF1u3CjlhAFekPPAk2h/Kv4T3mAkMox5OymRiJQB0spDP10LHvt+K7G9Ny6NuuMAb25/6n1qyUjAcGNf/AA== yaml@^2.3.4: version "2.5.0"