mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
fix: remove the active state from load more button after press
This commit is contained in:
parent
74b1349cf6
commit
99110d12c4
@ -1160,7 +1160,10 @@ export default function Layout(props: ParentProps) {
|
||||
variant="ghost"
|
||||
class="flex w-full text-left justify-start text-14-regular text-text-weak px-10"
|
||||
size="large"
|
||||
onClick={loadMore}
|
||||
onClick={(e: MouseEvent) => {
|
||||
loadMore()
|
||||
;(e.currentTarget as HTMLButtonElement).blur()
|
||||
}}
|
||||
>
|
||||
Load more
|
||||
</Button>
|
||||
@ -1205,7 +1208,10 @@ export default function Layout(props: ParentProps) {
|
||||
variant="ghost"
|
||||
class="flex w-full text-left justify-start text-14-regular text-text-weak px-10"
|
||||
size="large"
|
||||
onClick={loadMore}
|
||||
onClick={(e: MouseEvent) => {
|
||||
loadMore()
|
||||
;(e.currentTarget as HTMLButtonElement).blur()
|
||||
}}
|
||||
>
|
||||
Load more
|
||||
</Button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user