mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 13:22:41 +02:00
refactor(chat): simplify ChatViewport and footer structure for improved readability and maintainability
This commit is contained in:
parent
a66c1576b9
commit
833b4dd441
3 changed files with 19 additions and 21 deletions
|
|
@ -113,14 +113,10 @@ const ThreadContent: FC = () => {
|
|||
>
|
||||
<ChatViewport
|
||||
footer={
|
||||
<>
|
||||
<AuiIf condition={({ thread }) => !thread.isEmpty}>
|
||||
<PremiumQuotaPinnedAlert />
|
||||
</AuiIf>
|
||||
<AuiIf condition={({ thread }) => !thread.isEmpty}>
|
||||
<Composer />
|
||||
</AuiIf>
|
||||
</>
|
||||
<AuiIf condition={({ thread }) => !thread.isEmpty}>
|
||||
<PremiumQuotaPinnedAlert />
|
||||
<Composer />
|
||||
</AuiIf>
|
||||
}
|
||||
>
|
||||
<AuiIf condition={({ thread }) => thread.isEmpty}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue