Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
fix: Remove dead function
Richie McIlroy2b612088a196
diff --git a/apps/web/app/share/[videoId]/_components/ShareVideo.tsx b/apps/web/app/share/[videoId]/_components/ShareVideo.tsxindex 9390168fa..98446fe8f 100644--- a/apps/web/app/share/[videoId]/_components/ShareVideo.tsx+++ b/apps/web/app/share/[videoId]/_components/ShareVideo.tsx@@ -191,7 +191,7 @@ export const ShareVideo = ({ data }: { data: typeof videos.$inferSelect }) => {className=" inline-flex items-center text-sm font-medium transition ease-in-out duration-150 focus:outline-none border text-slate-100 border-transparent hover:text-white focus:border-white hover:bg-slate-100 hover:bg-opacity-10 active:bg-slate-100 active:bg-opacity-10 px-2 py-2 justify-center rounded-lg"tabIndex={0}type="button"- onClick={handleMuteClick}+ onClick={() => handleMuteClick()}>{video1Ref?.current?.muted && video2Ref?.current?.muted ? (<VolumeX className="w-auto h-6" />diff --git a/packages/utils/src/helpers.ts b/packages/utils/src/helpers.tsindex 1be60f078..71ed62e4a 100644--- a/packages/utils/src/helpers.ts+++ b/packages/utils/src/helpers.ts@@ -15,18 +15,3 @@ export const uuidFormat = (uuid: string) => {export const CAP_LOGO_URL ="https://raw.githubusercontent.com/CapSoftware/cap/main/app-icon.png";--export function debounce(- func: (...args: any[]) => void,- wait: number | undefined-) {- let timeout: number | undefined;- return function executedFunction(...args: any[]) {- const later = () => {- clearTimeout(timeout);- func(...args);- };- clearTimeout(timeout);- timeout = setTimeout(later, wait);- };-}