We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba6cab9 commit 8e11a09Copy full SHA for 8e11a09
apps/builder/app/routes/rest.assets_.$name.tsx
@@ -66,10 +66,10 @@ export const action = async (
66
contentTypeArr[0] === "video" ? contentTypeArr[1] : undefined;
67
68
const width = url.searchParams.has("width")
69
- ? parseInt(url.searchParams.get("width")!, 10)
+ ? Number.parseInt(url.searchParams.get("width")!, 10)
70
: undefined;
71
const height = url.searchParams.has("height")
72
- ? parseInt(url.searchParams.get("height")!, 10)
+ ? Number.parseInt(url.searchParams.get("height")!, 10)
73
74
75
const assetInfoFallback =
0 commit comments