Remove Extra Const
Some checks failed
Release / Build Equicord (push) Has been cancelled
Sync to Codeberg / Sync Codeberg and Github (push) Has been cancelled
Test / Test (push) Has been cancelled

This commit is contained in:
thororen1234 2025-01-25 15:37:04 -05:00
parent a9510abf4a
commit 401c8c43c5

View file

@ -15,7 +15,6 @@ import { preload, unload } from "./images";
import { cl } from "./ui"; import { cl } from "./ui";
import openQrModal from "./ui/modals/QrModal"; import openQrModal from "./ui/modals/QrModal";
const qrModalOpen = false;
export default definePlugin({ export default definePlugin({
name: "LoginWithQR", name: "LoginWithQR",
description: "Allows you to login to another device by scanning a login QR code, just like on mobile!", description: "Allows you to login to another device by scanning a login QR code, just like on mobile!",
@ -88,7 +87,7 @@ export default definePlugin({
} }
], ],
qrModalOpen, qrModalOpen: false,
insertScanQrButton: (button: ReactElement) => ( insertScanQrButton: (button: ReactElement) => (
<div className={cl("settings-btns")}> <div className={cl("settings-btns")}>