Fix types, replace preact with react

This commit is contained in:
2024-12-22 23:04:36 +08:00
parent c6fbe5c031
commit 926f3bea5c
11 changed files with 684 additions and 58 deletions

View File

@@ -722,7 +722,7 @@ export default function ChatBOX(props: {
</p>
<p className="p-2 my-2 text-center opacity-50 dark:text-white">
{chatStore.postBeginIndex !== 0 && (
<Alert variant="info">
<Alert variant="default">
<InfoIcon className="h-4 w-4" />
<AlertTitle>{Tr("Chat History Notice")}</AlertTitle>
<AlertDescription>