Skip to content

🎥 Make videos programmatically with React

Update current-time.md

Jonny Burger4c71b0402348
diff --git a/packages/docs/docs/player/current-time.md b/packages/docs/docs/player/current-time.md
index 976a6444a5..eede1939ac 100644
--- a/packages/docs/docs/player/current-time.md
+++ b/packages/docs/docs/player/current-time.md
@@ -122,6 +122,8 @@ export const useCurrentPlayerFrame = (ref: React.RefObject<PlayerRef>) => {
// @filename: TimeDisplay.tsx
// ---cut---
+import React from "react";
+import { PlayerRef } from "@remotion/player";
import { useCurrentPlayerFrame } from "./use-current-player-frame";
export const TimeDisplay: React.FC<{