Skip to content

Commit

Permalink
chore: fix linter issue CI
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Sep 19, 2024
1 parent cfe657f commit 8fe3763
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions web/screens/Settings/CoreExtensions/ExtensionItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const ExtensionItem: React.FC<Props> = ({ item }) => {
)

const progress = isInstalling
? installingExtensions.find((e) => e.extensionId === item.name)
?.percentage ?? -1
? (installingExtensions.find((e) => e.extensionId === item.name)
?.percentage ?? -1)
: -1

useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const SimpleTextMessage: React.FC<ThreadMessage> = (props) => {
>
{isUser
? props.role
: activeThread?.assistants[0].assistant_name ?? props.role}
: (activeThread?.assistants[0].assistant_name ?? props.role)}
</div>
<p className="text-xs font-medium text-gray-400">
{displayDate(props.created)}
Expand Down

0 comments on commit 8fe3763

Please sign in to comment.