GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(mobile): preserve workspace image refresh during turns · pingdotgg/t3code@1e212b9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/mobile/src/features/threads
    • ThreadMarkdownImage.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/mobile/src/features/threads/ThreadMarkdownImage.tsx‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/threads/ThreadMarkdownImage.tsx
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { PresentationSource } from "../../components/ui/NativePresentation";
1919
import { useMediaActions } from "../../state/mediaActions";
2020
import type { MediaActionsSource } from "../../lib/mediaActionsSource";
2121
import { useAssetUrlState } from "../../state/assets";
22+
import { WorkspaceMutationIdContext } from "./workspaceMutationIdContext";
2223
import { assetImageCacheKey } from "../../lib/assetImageSource";
2324
import {
2425
MARKDOWN_IMAGE_MAX_WIDTH,
@@ -280,7 +281,7 @@ export function ThreadMarkdownImage(props: {
280281
const withGallery = useFilePreviewGallery();
281282
const revision =
282283
props.resource._tag === "media-file" || props.resource._tag === "draft-workspace-file"
283-
? use(MarkdownImageRevisionContext)
284+
? JSON.stringify([use(WorkspaceMutationIdContext), use(MarkdownImageRevisionContext)])
284285
: undefined;
285286
const assetUrl = useAssetUrlState(props.environmentId, props.resource, revision);
286287
const resourceKey =

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.