Skip to content

Commit

Permalink
[Bug] QR code generation broken due to bad import (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
inssein authored Oct 12, 2024
1 parent 137526d commit 1d75657
Show file tree
Hide file tree
Showing 3 changed files with 564 additions and 394 deletions.
5 changes: 1 addition & 4 deletions app/routes/qr-code.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +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,
utilities.qrCode.description,
Expand Down
Loading

0 comments on commit 1d75657

Please sign in to comment.