fix ui: change hover prefetch to sess item from play link (#2104)
This commit is contained in:
parent
02c0ed6a12
commit
4c6bfb5288
1 changed files with 2 additions and 1 deletions
|
|
@ -203,6 +203,7 @@ function SessionItem(props: RouteComponentProps & Props) {
|
|||
className={cn(stl.sessionItem, 'flex flex-col py-2 px-4')}
|
||||
id="session-item"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
onMouseEnter={handleHover}
|
||||
>
|
||||
<div className="flex items-start">
|
||||
<div className={cn('flex items-center w-full')}>
|
||||
|
|
@ -409,7 +410,7 @@ function SessionItem(props: RouteComponentProps & Props) {
|
|||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<div onMouseEnter={handleHover}>
|
||||
<div>
|
||||
<PlayLink
|
||||
isAssist={isAssist}
|
||||
sessionId={sessionId}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue