fix: linter
This commit is contained in:
parent
062af9bcda
commit
cfe657faf5
@ -30,8 +30,9 @@ const ModalConfirmReset = () => {
|
||||
content={
|
||||
<div>
|
||||
<p className="text-[hsla(var(--text-secondary))]">
|
||||
Restore app to initial state, erasing all models and chat history. This
|
||||
action is irreversible and recommended only if the application is corrupted.
|
||||
Restore app to initial state, erasing all models and chat history.
|
||||
This action is irreversible and recommended only if the application
|
||||
is corrupted.
|
||||
</p>
|
||||
|
||||
<div className="my-4">
|
||||
|
||||
@ -17,8 +17,9 @@ const FactoryReset = () => {
|
||||
</h6>
|
||||
</div>
|
||||
<p className="whitespace-pre-wrap font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
|
||||
Restore app to initial state, erasing all models and chat history. This
|
||||
action is irreversible and recommended only if the application is corrupted.
|
||||
Restore app to initial state, erasing all models and chat history.
|
||||
This action is irreversible and recommended only if the application is
|
||||
corrupted.
|
||||
</p>
|
||||
</div>
|
||||
<Button
|
||||
|
||||
@ -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(() => {
|
||||
|
||||
@ -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)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user