Skip to content

Commit

Permalink
refactor: use imports instead
Browse files Browse the repository at this point in the history
  • Loading branch information
phanshiyu committed Apr 23, 2024
1 parent 3ef9ea9 commit 680d416
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/renderer/SvgRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { Sha256 } from "@aws-crypto/sha256-browser";
import bs58 from "bs58";
import { ConnectionFailureTemplate, DefaultTemplate, NoTemplate, TamperedSvgTemplate } from "../../DefaultTemplate";
import type { v2 } from "@govtechsg/open-attestation";
/* eslint-disable-next-line @typescript-eslint/no-var-requires */
const handlebars = require("handlebars");
import handlebars from "handlebars";

interface RenderMethod {
id: string;
Expand Down

0 comments on commit 680d416

Please sign in to comment.