Skip to content

Commit

Permalink
fix: correctly resolve dimensions from resolveWidth and resolveHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore authored and frederickfogerty committed May 11, 2021
1 parent 70d1ac8 commit 44a8af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/gatsby-source-url/resolveDimensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const resolveDimensions = <TSource>({
Error,
{ width: number; height: number }
> = pipe(
sequenceSO({ width: manualHeight, height: manualHeight }),
sequenceSO({ width: manualWidth, height: manualHeight }),
O.fold(
() => TE.left(new Error(`Couldn't find manual width on obj`)),
TE.right,
Expand Down

0 comments on commit 44a8af9

Please sign in to comment.