Skip to content

Commit

Permalink
Merge pull request #6359 from blockchain/feat/BCPAY-882-prove-product…
Browse files Browse the repository at this point in the history
…-type

feat(prove): fixed a product name
  • Loading branch information
milan-bc committed Apr 17, 2024
2 parents 26b5755 + e201408 commit b47b75d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const ContentWrapper = styled.div`
const Prove: React.FC<ProveProps> = ({ location: { pathname, search } }) => {
const isExpired = pathname.includes('/expired')
const product = new URLSearchParams(search).get('product')
const isBCPay = !!product && product === 'bcpay'
const isBCPay = !!product && product === 'bc_pay'

const [proveStatus, setProveStatus] = useState<ProveStates>(isExpired ? 'error' : 'loading')

Expand Down

0 comments on commit b47b75d

Please sign in to comment.