Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
bedanley committed Jan 30, 2025
1 parent e6f0f3e commit 1327771
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/user-interface/react/src/components/chatbot/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ export default function Chat ({ sessionId }) {
<div ref={bottomRef} />
</SpaceBetween>
</div>
<div className="sticky bottom-8">
<div className='sticky bottom-8'>
<form onSubmit={(e) => e.preventDefault()}>
<Form>
<Container>
Expand Down
8 changes: 4 additions & 4 deletions lib/user-interface/react/src/components/chatbot/Sessions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export function Sessions () {
id: 'title',
header: 'Title',
cell: (e) => <Link variant='primary'
onClick={() => navigate(`chatbot/${e.sessionId}`)}>{e.history[0].content || 'No Content'}</Link>,
onClick={() => navigate(`chatbot/${e.sessionId}`)}>{e.history[0].content || 'No Content'}</Link>,
sortingField: 'title',
isRowHeader: true,
},
Expand Down Expand Up @@ -162,9 +162,9 @@ export function Sessions () {
</Button>
{config?.configuration.enabledComponents.deleteSessionHistory &&
<Button
iconAlt="Delete session(s)"
iconName="delete-marker"
variant="inline-link"
iconAlt='Delete session(s)'
iconName='delete-marker'
variant='inline-link'
onClick={() => {
if (collectionProps.selectedItems && collectionProps.selectedItems.length === 1) {
actions.setSelectedItems([]);
Expand Down

0 comments on commit 1327771

Please sign in to comment.