Skip to content

Commit 2b5a985

Browse files
MarkShawn2020claude
andcommitted
fix: silence unused prop TS error in ProjectList
onSelectSession is part of the public ProjectListProps interface but not used inside the component body, breaking pnpm build. Prefix with _ to keep the type stable. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent f0ed2a7 commit 2b5a985

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/Chat/ProjectList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const composerPtyHeightAtom = atomWithStorage<number>(
103103
PTY_HEIGHT_DEFAULT,
104104
);
105105

106-
export function ProjectList({ onSelectProject, onSelectSession }: ProjectListProps) {
106+
export function ProjectList({ onSelectProject, onSelectSession: _onSelectSession }: ProjectListProps) {
107107
const toReadable = useReadableText();
108108
const queryClient = useQueryClient();
109109

0 commit comments

Comments
 (0)