fix typo in comment

This commit is contained in:
Corey Cahill 2022-06-16 20:02:09 -04:00
parent ef09e7ae86
commit ac3392c629

View File

@ -28,7 +28,7 @@ export const calculateObjectFitBounds = (
objectFit =
naturalWidth < clientWidth && naturalHeight < clientHeight
? OBJECT_FIT.NONE // src is smaller on both axes
: OBJECT_FIT.CONTAIN; // at least one axes is greater or equal in size
: OBJECT_FIT.CONTAIN; // at least one axis is greater or equal in size
}
switch (objectFit) {