diff --git a/src/Image.tsx b/src/Image.tsx index db7de1eb..54850781 100644 --- a/src/Image.tsx +++ b/src/Image.tsx @@ -237,11 +237,9 @@ const ImageInternal: CompoundedComponent = ({ {status === 'loading' && ( diff --git a/src/Preview.tsx b/src/Preview.tsx index e17cc528..705df511 100644 --- a/src/Preview.tsx +++ b/src/Preview.tsx @@ -322,20 +322,18 @@ const Preview: React.FC = props => {
{alt}
{showLeftOrRightSwitches && ( diff --git a/src/getFixScaleEleTransPosition.tsx b/src/getFixScaleEleTransPosition.ts similarity index 100% rename from src/getFixScaleEleTransPosition.tsx rename to src/getFixScaleEleTransPosition.ts diff --git a/tests/__snapshots__/basic.test.tsx.snap b/tests/__snapshots__/basic.test.tsx.snap index 57a0f4dd..2c4974d0 100644 --- a/tests/__snapshots__/basic.test.tsx.snap +++ b/tests/__snapshots__/basic.test.tsx.snap @@ -8,6 +8,7 @@ exports[`Basic snapshot 1`] = ` `;