Sacha Weatherstone
4 years ago
No known key found for this signature in database
GPG Key ID: 7AB2D7E206124B31
1 changed files with
2 additions and
2 deletions
-
src/components/Dialog/QRDialog.tsx
|
|
|
@ -1,5 +1,5 @@ |
|
|
|
import type React from "react"; |
|
|
|
import { Fragment, useEffect, useState } from "react"; |
|
|
|
import { useEffect, useState } from "react"; |
|
|
|
|
|
|
|
import { fromByteArray } from "base64-js"; |
|
|
|
import { QRCode } from "react-qrcode-logo"; |
|
|
|
@ -51,7 +51,7 @@ export const QRDialog = ({ |
|
|
|
<Dialog open={isOpen} onClose={close}> |
|
|
|
<div className="fixed inset-0 bg-black/30" aria-hidden="true" /> |
|
|
|
<div className="fixed inset-0 flex items-center justify-center p-4"> |
|
|
|
<Dialog.Panel as={Fragment}> |
|
|
|
<Dialog.Panel> |
|
|
|
<Card className="max-w-md flex-col"> |
|
|
|
<div className="flex h-8 bg-slate-100"> |
|
|
|
<span className="m-auto text-lg font-medium"> |
|
|
|
|