Skip to content

Commit 37fd8ce

Browse files
[getsentry/action-github-commit] Auto commit
1 parent 0bd0bae commit 37fd8ce

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

src/components/docImage.tsx

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,19 @@ export default function DocImage({
1919
// Handle external images early - pass through without processing
2020
if (src.startsWith('http')) {
2121
// Use provided props or defaults for external images
22-
const width = typeof propsWidth === 'number'
23-
? propsWidth
24-
: typeof propsWidth === 'string'
25-
? parseInt(propsWidth, 10) || 800
26-
: 800;
27-
const height = typeof propsHeight === 'number'
28-
? propsHeight
29-
: typeof propsHeight === 'string'
30-
? parseInt(propsHeight, 10) || 600
31-
: 600;
32-
22+
const width =
23+
typeof propsWidth === 'number'
24+
? propsWidth
25+
: typeof propsWidth === 'string'
26+
? parseInt(propsWidth, 10) || 800
27+
: 800;
28+
const height =
29+
typeof propsHeight === 'number'
30+
? propsHeight
31+
: typeof propsHeight === 'string'
32+
? parseInt(propsHeight, 10) || 600
33+
: 600;
34+
3335
return (
3436
<DocImageClient
3537
src={src}

0 commit comments

Comments
 (0)