Skip to content

Commit

Permalink
Fixed casing error on GetScannable QR Code
Browse files Browse the repository at this point in the history
  • Loading branch information
amosmachora committed Oct 4, 2023
1 parent 952ea30 commit 810c376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/QRCodeDisplay.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { faCircleNotch } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import React, { useEffect, useState } from "react";
import { getScannableQRCode } from "..";
import { GetScannableQRCode } from "..";
import { useReactDaraja } from "../hooks/useReactDaraja";
import { ScannableQrParams } from "../types";

Expand All @@ -14,7 +14,7 @@ export const QRCodeDisplay = ({
const { accessToken, mode } = useReactDaraja();

useEffect(() => {
getScannableQRCode(scannableQrParams, accessToken!).then((res) =>
GetScannableQRCode(scannableQrParams, accessToken!).then((res) =>
setQrString(res.QRCode)
);
}, []);
Expand Down

0 comments on commit 810c376

Please sign in to comment.