Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] QR code generation broken due to bad import #60

Merged
merged 3 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading