Skip to content

🎥 Make videos programmatically with React

run prettier on all files

Jonny Burgerda169fc530b3
diff --git a/packages/gif/src/Gif.tsx b/packages/gif/src/Gif.tsx
index f95d03f502..eafc3633a9 100644
--- a/packages/gif/src/Gif.tsx
+++ b/packages/gif/src/Gif.tsx
@@ -1,7 +1,7 @@
import React from 'react';
-import {RemotionGifProps} from './props';
import {GifForDevelopment} from './GifForDevelopment';
import {GifForRendering} from './GifForRendering';
+import {RemotionGifProps} from './props';
export const Gif = (props: RemotionGifProps) => {
if (process.env.NODE_ENV === 'development') {
diff --git a/packages/gif/src/index.ts b/packages/gif/src/index.ts
index 9878be4816..104244e3ca 100644
--- a/packages/gif/src/index.ts
+++ b/packages/gif/src/index.ts
@@ -1,2 +1,2 @@
-export * from './props';
export * from './Gif';
+export * from './props';
diff --git a/packages/gif/src/useCurrentGifIndex.tsx b/packages/gif/src/useCurrentGifIndex.tsx
index b3cb15fbe9..09a18739a1 100644
--- a/packages/gif/src/useCurrentGifIndex.tsx
+++ b/packages/gif/src/useCurrentGifIndex.tsx
@@ -1,11 +1,10 @@
import {useMemo} from 'react';
-import {useCurrentFrame, Internals} from 'remotion';
-
+import {Internals, useCurrentFrame} from 'remotion';
function useCurrentGifIndex(delays: number[]): number {
const currentFrame = useCurrentFrame();
const videoConfig = Internals.useUnsafeVideoConfig();
-
+
const duration = useMemo(() => {
if (delays.length !== 0) {
return delays.reduce((sum: number, delay: number) => sum + delay, 0);