# Files changed · PR \#23093 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/23093/diffs)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

[refactor\(web\): ComposerControlsBar renders without a memo\(\) wrapper](https://git.cafe/pingdotgg/t3code/pull/23093.md)

Version: 7

Head commit: 4d5d85a12e0d632a56dacb4849a956d4ec1d87b8

Base commit: beec3c8b30cecbd61383339cde42374282d1dee3

Comparison base: beec3c8b30cecbd61383339cde42374282d1dee3

Showing up to 20 entries from this revision. If the pull request changes, reopen the first page before continuing.

## apps/web/src/components/chat/ComposerControlsBar.tsx

Status: modified; +2; −3

```diff
@@ -20,7 +20,6 @@
   type ServerProvider,
 } from "@t3tools/contracts";
 import { cn } from "~/lib/utils";
-import { memo } from "react";
 import {
   renderProviderTraitsMenuContent,
   renderProviderTraitsPicker,
@@ -31,7 +30,7 @@
  * The composer footer controls: model picker, traits, mode controls and the overflow menu for
  * blocks that do not fit. Rendered in the expanded footer or the resting controls host.
  */
+export function ComposerControlsBar(props: {
-export const ComposerControlsBar = memo(function ComposerControlsBar(props: {
   environmentId: EnvironmentId;
   routeKind: ChatComposerProps["routeKind"];
   routeThreadRef: ChatComposerProps["routeThreadRef"];
@@ -328,4 +327,4 @@
       </>
     </>
   );
-});
+}
```
