Skip to content

Commit

Permalink
chore: update require to import
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape authored Dec 21, 2023
1 parent 4f0b9b8 commit 1fec20e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jsx-email/src/components/qrcode.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';

const qrcode = require('qrcode');
import qrcode from 'qrcode';

type RootProps = React.ComponentPropsWithoutRef<'img'>;

Expand Down

0 comments on commit 1fec20e

Please sign in to comment.