@devries-cameron20 / t3code Mirror · read-only / commits / 23d40e0a8c
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 23, 06:45 UTC

perf(web): the project icon picker compiles without manual memoization (#20607)

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

Julius Marminge committed Oct 16, 2026 at 22:01 UTC 23d40e0a8cc40c516b05fd6dd1c0840d7ed0f875
1 file changed +2 -2
apps/web/src/components/settings/ProjectIconPickerDialog.tsx
+2 -2
@@ -6,7 +6,7 @@ import {
6 type ProjectIconColor,
7 type ProjectIconOverride,
8 } from "@t3tools/contracts";
9 -import { createElement, useEffect, useMemo, useRef, useState } from "react";
9 +import { createElement, useEffect, useRef, useState } from "react";
10 import {
11 filterProjectIconNames,
12 firstEmoji,
@@ -87,7 +87,7 @@ export function ProjectIconPickerDialog({
87 previousOpenRef.current = open;
88 }, [current, open, automatic.color, automatic.monogram]);
89
90 - const icons = useMemo(() => filterProjectIconNames(query), [query]);
90 + const icons = filterProjectIconNames(query);
91 const selectedColorClassName = projectIconColorClassName(color);
92 const monogram = letters.normalize("NFKC").trim().toUpperCase();
93 const validMonogram = isMonogramText(monogram);