diff --git a/packages/recorder/src/callLog.tsx b/packages/recorder/src/callLog.tsx
index a40be416dc..022ffa75df 100644
--- a/packages/recorder/src/callLog.tsx
+++ b/packages/recorder/src/callLog.tsx
@@ -30,7 +30,7 @@ export const CallLogView: React.FC
= ({
language,
log,
}) => {
- const messagesEndRef = React.createRef();
+ const messagesEndRef = React.useRef(null);
const [expandOverrides, setExpandOverrides] = React.useState