From 6fbfef56ef3299ef8393d18ba6a58a40cf67d7e6 Mon Sep 17 00:00:00 2001 From: Alex H Date: Mon, 16 Dec 2024 16:07:11 -0500 Subject: [PATCH] Run linter Signed-off-by: Alex H --- app/lib/svgToPdf.ts | 2 +- app/screens/PublicLinkScreen/PublicLinkScreen.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/svgToPdf.ts b/app/lib/svgToPdf.ts index 7484c273..fe282b0b 100644 --- a/app/lib/svgToPdf.ts +++ b/app/lib/svgToPdf.ts @@ -27,7 +27,7 @@ export async function convertSVGtoPDF( } } - source = source.replace(`{{ qr_code }}`, `'${'data:image/png;base64, ' + qrCodeBase64}'`); + source = source.replace('{{ qr_code }}', `'${'data:image/png;base64, ' + qrCodeBase64}'`); const template = Handlebars.compile(source); const svg = template(data); diff --git a/app/screens/PublicLinkScreen/PublicLinkScreen.tsx b/app/screens/PublicLinkScreen/PublicLinkScreen.tsx index ea2accd0..1aeb64bb 100644 --- a/app/screens/PublicLinkScreen/PublicLinkScreen.tsx +++ b/app/screens/PublicLinkScreen/PublicLinkScreen.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useMemo, useRef, useState } from 'react'; -import { View, ScrollView, Linking, TextInput as RNTextInput, Platform, Image } from 'react-native'; +import { View, ScrollView, Linking, TextInput as RNTextInput, Platform } from 'react-native'; import { Button, Text } from 'react-native-elements'; import { TextInput } from 'react-native-paper'; import QRCode from 'react-native-qrcode-svg';