fix: linter
This commit is contained in:
parent
062af9bcda
commit
cfe657faf5
@ -30,8 +30,9 @@ const ModalConfirmReset = () => {
|
|||||||
content={
|
content={
|
||||||
<div>
|
<div>
|
||||||
<p className="text-[hsla(var(--text-secondary))]">
|
<p className="text-[hsla(var(--text-secondary))]">
|
||||||
Restore app to initial state, erasing all models and chat history. This
|
Restore app to initial state, erasing all models and chat history.
|
||||||
action is irreversible and recommended only if the application is corrupted.
|
This action is irreversible and recommended only if the application
|
||||||
|
is corrupted.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div className="my-4">
|
<div className="my-4">
|
||||||
|
|||||||
@ -17,8 +17,9 @@ const FactoryReset = () => {
|
|||||||
</h6>
|
</h6>
|
||||||
</div>
|
</div>
|
||||||
<p className="whitespace-pre-wrap font-medium leading-relaxed text-[hsla(var(--text-secondary))]">
|
<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
|
Restore app to initial state, erasing all models and chat history.
|
||||||
action is irreversible and recommended only if the application is corrupted.
|
This action is irreversible and recommended only if the application is
|
||||||
|
corrupted.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@ -32,8 +32,8 @@ const ExtensionItem: React.FC<Props> = ({ item }) => {
|
|||||||
)
|
)
|
||||||
|
|
||||||
const progress = isInstalling
|
const progress = isInstalling
|
||||||
? (installingExtensions.find((e) => e.extensionId === item.name)
|
? installingExtensions.find((e) => e.extensionId === item.name)
|
||||||
?.percentage ?? -1)
|
?.percentage ?? -1
|
||||||
: -1
|
: -1
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
@ -178,7 +178,7 @@ const SimpleTextMessage: React.FC<ThreadMessage> = (props) => {
|
|||||||
>
|
>
|
||||||
{isUser
|
{isUser
|
||||||
? props.role
|
? props.role
|
||||||
: (activeThread?.assistants[0].assistant_name ?? props.role)}
|
: activeThread?.assistants[0].assistant_name ?? props.role}
|
||||||
</div>
|
</div>
|
||||||
<p className="text-xs font-medium text-gray-400">
|
<p className="text-xs font-medium text-gray-400">
|
||||||
{displayDate(props.created)}
|
{displayDate(props.created)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user