fix: remove the active state from load more button after press
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…
Reference in New Issue