Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Remove timestamp from screenshot src

Richie McIlroy3c4a1244ec1d
diff --git a/apps/desktop/src/routes/(window-chrome)/settings/screenshots.tsx b/apps/desktop/src/routes/(window-chrome)/settings/screenshots.tsx
index 58689f807..9eee859f9 100644
--- a/apps/desktop/src/routes/(window-chrome)/settings/screenshots.tsx
+++ b/apps/desktop/src/routes/(window-chrome)/settings/screenshots.tsx
@@ -175,7 +175,7 @@ function ScreenshotItem(props: {
<img
class="object-cover rounded size-12"
alt="Screenshot thumbnail"
- src={`${convertFileSrc(props.screenshot.path)}?t=${Date.now()}`}
+ src={convertFileSrc(props.screenshot.path)}
onError={() => setImageExists(false)}
/>
</Show>