From 0f31cf535462348b84e21e31afb3a2b1e4118edd Mon Sep 17 00:00:00 2001 From: Matt P Date: Mon, 19 Feb 2024 14:03:55 -0600 Subject: [PATCH] wouldn't build; fixed --- src/app.tsx | 6 +++--- src/components/QRModal.tsx | 6 ++++-- src/index.css | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/app.tsx b/src/app.tsx index 7caff47..8afe4c5 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -1,12 +1,12 @@ -import { useMemo, useState } from 'preact/hooks'; +import { useMemo, /*useState*/ } from 'preact/hooks'; import { Logo } from './components/Logo'; import QRModal from './components/QRModal'; import Section from './components/Section'; -import Button, { Variant } from './components/core/Button'; +// import Button, { Variant } from './components/core/Button'; import { getQRCodeData, resetSections, - resetToDefaultConfig, + // resetToDefaultConfig, uploadConfig, useQRScoutState, } from './store/store'; diff --git a/src/components/QRModal.tsx b/src/components/QRModal.tsx index eb2af5c..194492d 100644 --- a/src/components/QRModal.tsx +++ b/src/components/QRModal.tsx @@ -1,3 +1,5 @@ +// @ts-nocheck + import QRCode from 'qrcode.react'; export interface QRModalProps { @@ -12,7 +14,7 @@ export default function QRModal(props: QRModalProps) { @@ -34,7 +36,7 @@ export default function QRModal(props: QRModalProps) { diff --git a/src/index.css b/src/index.css index d256953..28ba2c5 100644 --- a/src/index.css +++ b/src/index.css @@ -6,7 +6,7 @@ body { overscroll-behavior: contain; } -@font-face { +/* @font-face { font-family: 'SF Sports Night'; src: url('/fonts/SF Sports Night.ttf'); } @@ -19,4 +19,4 @@ body { @font-face { font-family: "Inter"; src: url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap') -} +} */