@devries-cameron20 / t3code Mirror · read-only / commits / b34f74cde0
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 19:30 UTC

refactor(web): ComposerControlsBar renders without a memo() wrapper (#23093)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 21, 2026 at 14:39 UTC b34f74cde0db0a272b5796a59e298e887a6c7b99
1 file changed +2 -3
apps/web/src/components/chat/ComposerControlsBar.tsx
+2 -3
@@ -20,7 +20,6 @@ import {
20 type ServerProvider,
21 } from "@t3tools/contracts";
22 import { cn } from "~/lib/utils";
23 -import { memo } from "react";
23 import {
24 renderProviderTraitsMenuContent,
25 renderProviderTraitsPicker,
@@ -31,7 +30,7 @@ import type { useComposerProviderModel } from "./useComposerProviderModel";
30 * The composer footer controls: model picker, traits, mode controls and the overflow menu for
31 * blocks that do not fit. Rendered in the expanded footer or the resting controls host.
32 */
34 -export const ComposerControlsBar = memo(function ComposerControlsBar(props: {
33 +export function ComposerControlsBar(props: {
34 environmentId: EnvironmentId;
35 routeKind: ChatComposerProps["routeKind"];
36 routeThreadRef: ChatComposerProps["routeThreadRef"];
@@ -328,4 +327,4 @@ export const ComposerControlsBar = memo(function ComposerControlsBar(props: {
327 </>
328 </>
329 );
331 -});
330 +}