Skip to content

Commit 0365f9b

Browse files
committed
chore: remove useless comment
1 parent eccf51e commit 0365f9b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

webview-ui/src/components/common/ImageViewer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ export function ImageViewer({
158158
if (path.startsWith("./")) return path
159159
// If it's an absolute path, extract the relative portion
160160
// Look for workspace patterns - match the last segment after any directory separator
161-
// This handles various workspace names without hardcoding specific patterns
162161
const workspaceMatch = path.match(/\/([^/]+)\/(.+)$/)
163162
if (workspaceMatch && workspaceMatch[2]) {
164163
// Return relative path from what appears to be the workspace root

0 commit comments

Comments
 (0)