Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix: clarify typecheck cleanup
Richie McIlroy54358732baad
diff --git a/apps/web/app/(site)/Footer.tsx b/apps/web/app/(site)/Footer.tsxindex 3c375d7bb..2eaf71575 100644--- a/apps/web/app/(site)/Footer.tsx+++ b/apps/web/app/(site)/Footer.tsx@@ -9,7 +9,7 @@ import {import { faChevronDown } from "@fortawesome/free-solid-svg-icons";import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import Link from "next/link";-import type { ReactNode } from "react";+import type { ComponentProps, ReactNode } from "react";import { useState } from "react";type FooterLink = {@@ -112,20 +112,23 @@ const footerLinks = {] as FooterLink[],};-const socialLinks: { label: string; href: string; icon: typeof faXTwitter }[] =- [- { label: "X (@Cap)", href: "https://x.com/cap", icon: faXTwitter },- {- label: "Discord",- href: "https://discord.gg/y8gdQ3WRN3",- icon: faDiscord,- },- {- label: "LinkedIn",- href: "https://www.linkedin.com/company/caprecorder/",- icon: faLinkedinIn,- },- ];+const socialLinks: {+ label: string;+ href: string;+ icon: ComponentProps<typeof FontAwesomeIcon>["icon"];+}[] = [+ { label: "X (@Cap)", href: "https://x.com/cap", icon: faXTwitter },+ {+ label: "Discord",+ href: "https://discord.gg/y8gdQ3WRN3",+ icon: faDiscord,+ },+ {+ label: "LinkedIn",+ href: "https://www.linkedin.com/company/caprecorder/",+ icon: faLinkedinIn,+ },+];const complianceBadges: { label: string; content: ReactNode }[] = [{diff --git a/packages/database/crypto.ts b/packages/database/crypto.tsindex 1282da103..6ec95f5aa 100644--- a/packages/database/crypto.ts+++ b/packages/database/crypto.ts@@ -32,7 +32,7 @@ const ENCRYPTION_KEY = () => {return key;};-async function deriveKey(salt: Uint8Array<ArrayBuffer>): Promise<CryptoKey> {+async function deriveKey(salt: BufferSource): Promise<CryptoKey> {const key = ENCRYPTION_KEY();if (!key) throw new Error("Encryption key is not available");