Elffuss BraidHub

kikocis/continue public

chore: run prettier to fix formatting errors
Changesetc038aa5b22bf7c24da516deff396bc7743877bb2c26825448ff76d81cef37a69
Authoramar nath gupta <ang.amarnathgupta@gmail.com> · 2025-07-12 22:05 +05:30
Committeramar nath gupta <ang.amarnathgupta@gmail.com> · 2025-07-12 22:05 +05:30
Parentsa8d6112f1f8c

Browse the files at this changeset

1 file changed

modified gui/src/components/History/index.tsx +9 −5
@@ -114,7 +114,8 @@
114114
115115 return allSessionMetadata
116116 .filter(
117- (session) => searchTerm === "" || sessionIds.includes(session.sessionId),
117+ (session) =>
118+ searchTerm === "" || sessionIds.includes(session.sessionId),
118119 )
119120 .sort(
120121 (a, b) =>
@@ -158,7 +159,7 @@
158159 {/* Collapse Button */}
159160 <button
160161 onClick={() => setCollapsed(!collapsed)}
161- className="absolute left-2 top-1/2 -translate-y-1/2 transform bg-vsc-background text-vsc-foreground hover:bg-vsc-editor-background p-1 rounded-md"
162+ className="bg-vsc-background text-vsc-foreground hover:bg-vsc-editor-background absolute left-2 top-1/2 -translate-y-1/2 transform rounded-md p-1"
162163 title={collapsed ? "Expand sidebar" : "Collapse sidebar"}
163164 >
164165 {collapsed ? (
@@ -199,8 +200,9 @@
199200 "Loading Sessions..."
200201 ) : (
201202 <>
202- No past sessions found. To start a new session, either click the
203- "+" button or use the keyboard shortcut: <Shortcut>meta L</Shortcut>
203+ No past sessions found. To start a new session, either click
204+ the "+" button or use the keyboard shortcut:{" "}
205+ <Shortcut>meta L</Shortcut>
204206 </>
205207 )}
206208 </div>
@@ -211,7 +213,9 @@
211213 {filteredAndSortedSessions.map((session, index) => {
212214 const prevDate =
213215 index > 0
214- ? parseDate(filteredAndSortedSessions[index - 1].dateCreated)
216+ ? parseDate(
217+ filteredAndSortedSessions[index - 1].dateCreated,
218+ )
215219 : earlier;
216220 const date = parseDate(session.dateCreated);
217221