Skip to content

Commit

Permalink
Fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jlucaspains committed Jan 12, 2025
1 parent 211cb81 commit d88487d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 61 deletions.
4 changes: 3 additions & 1 deletion browser-extensions/popup.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<html>
<!DOCTYPE html>
<html lang="en">

<head>
<title>Sharp Cooking Extension</title>
<style>
.container {
height: 5rem;
Expand Down
2 changes: 1 addition & 1 deletion browser-extensions/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ chrome.runtime.onMessage.addListener(
document.getElementById("sharp-cooking-code").innerHTML = request.code || "";
document.getElementById("sharp-cooking-message").innerHTML = request.error || "";

new QRCode(document.getElementById("qrcode"), {
_ = new QRCode(document.getElementById("qrcode"), {
text: request.code,
width: 128,
height: 128
Expand Down
4 changes: 2 additions & 2 deletions src/components/Scanner.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { onMounted, onUnmounted, ref } from "vue";
import { Html5Qrcode, Html5QrcodeScanType, Html5QrcodeSupportedFormats } from "html5-qrcode";
import { onMounted, onUnmounted } from "vue";
import { Html5Qrcode } from "html5-qrcode";
const emit = defineEmits<{
(e: "codeScanned", value: string): void;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/recipe/[id]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ async function shareOnline() {
const result = await response.json();
shareCode.value = result.id;
shareQRCode.value = result.qrCode;
shareQRCode.value = result.qr_code;
isShareOptionsModalOpen.value = true;
Expand Down
56 changes: 0 additions & 56 deletions src/pages/scan.vue

This file was deleted.

0 comments on commit d88487d

Please sign in to comment.