diff --git a/apps/web/src/components/features/reasoning/ReasoningFileCode.tsx b/apps/web/src/components/features/reasoning/ReasoningFileCode.tsx
index 5dba6e7db..e3dff732a 100644
--- a/apps/web/src/components/features/reasoning/ReasoningFileCode.tsx
+++ b/apps/web/src/components/features/reasoning/ReasoningFileCode.tsx
@@ -29,7 +29,7 @@ export const ReasoningFileCode: React.FC<
}
return {file_name};
- }, [file_name, version_number]);
+ }, [file_name, version_number, file_type]);
return (