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 25, 10:00 UTC
style
Julius Marminge committed
Mar 3, 2026 at 19:32 UTC
7559f5ad70349b62d919e4a488ff70cc8c7847c6
1 file changed
+9
-4
apps/web/src/components/Sidebar.tsx
+9
-4
@@ -1,4 +1,10 @@
1
-import { ChevronRightIcon, FolderIcon, GitPullRequestIcon, RocketIcon, TerminalIcon } from "lucide-react";
1
+import {
2
+ ChevronRightIcon,
3
+ FolderIcon,
4
+ GitPullRequestIcon,
5
+ RocketIcon,
6
+ TerminalIcon,
7
+} from "lucide-react";
8
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
9
import {
10
DEFAULT_MODEL,
@@ -783,8 +789,7 @@ export default function Sidebar() {
789
}
790
791
if (!isChatNewShortcut(event, keybindings)) return;
786
- const projectId =
787
- activeThread?.projectId ?? activeDraftThread?.projectId ?? projects[0]?.id;
792
+ const projectId = activeThread?.projectId ?? activeDraftThread?.projectId ?? projects[0]?.id;
793
if (!projectId) return;
794
event.preventDefault();
795
void handleNewThread(projectId, {
@@ -927,7 +932,7 @@ export default function Sidebar() {
932
type="button"
933
aria-label={desktopUpdateTooltip}
934
disabled={desktopUpdateButtonDisabled}
930
- className={`inline-flex size-7 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-60 ${desktopUpdateButtonClasses}`}
935
+ className={`inline-flex size-7 ml-auto mt-2 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-60 ${desktopUpdateButtonClasses}`}
936
onClick={handleDesktopUpdateButtonClick}
937
>
938
<RocketIcon className="size-3.5" />