Skip to content

Commit

Permalink
fix up qr-code
Browse files Browse the repository at this point in the history
  • Loading branch information
inssein committed Oct 12, 2024
1 parent 137526d commit 1c09eb7
Show file tree
Hide file tree
Showing 3 changed files with 544 additions and 377 deletions.
4 changes: 1 addition & 3 deletions app/routes/qr-code.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import { useCallback, useMemo, useRef, useState } from "react";
import Utiliti from "~/components/utiliti";
import qrcode from "qrcode.react";
import { QRCodeCanvas, QRCodeSVG } from "qrcode.react";
import Box, { BoxContent, BoxOptions, BoxTitle } from "~/components/box";
import { DocumentArrowDownIcon } from "@heroicons/react/24/outline";
import IconButton from "~/components/icon-button";
import { metaHelper } from "~/utils/meta";
import { utilities } from "~/utilities";

// eslint-disable-next-line import/no-named-as-default-member
const { QRCodeCanvas, QRCodeSVG } = qrcode;

export const meta = metaHelper(
utilities.qrCode.name,
Expand Down
Loading

0 comments on commit 1c09eb7

Please sign in to comment.