feat(ui): remove assist tabs for header
This commit is contained in:
parent
6289fa8503
commit
21e3170b72
4 changed files with 0 additions and 39 deletions
|
|
@ -1,31 +0,0 @@
|
|||
import { useModal } from 'App/components/Modal';
|
||||
import React from 'react';
|
||||
import SessionList from '../SessionList';
|
||||
import stl from './assistTabs.module.css';
|
||||
|
||||
interface Props {
|
||||
userId: any;
|
||||
}
|
||||
|
||||
const AssistTabs = (props: Props) => {
|
||||
const { showModal } = useModal();
|
||||
|
||||
return (
|
||||
<div className="relative mr-4">
|
||||
<div className="flex items-center">
|
||||
{props.userId && (
|
||||
<div
|
||||
className={stl.btnLink}
|
||||
onClick={() =>
|
||||
showModal(<SessionList userId={props.userId} />, { right: true, width: 700 })
|
||||
}
|
||||
>
|
||||
Active Sessions
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default AssistTabs;
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
.btnLink {
|
||||
cursor: pointer;
|
||||
color: $green;
|
||||
text-decoration: underline;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
export { default } from './AssistTabs';
|
||||
|
|
@ -87,7 +87,6 @@ function LivePlayerBlockHeader(props: any) {
|
|||
</div>
|
||||
)}
|
||||
<UserCard className="" width={width} height={height} />
|
||||
<AssistTabs userId={userId} />
|
||||
|
||||
<div className={cn('ml-auto flex items-center h-full', { hidden: closedLive })}>
|
||||
{_metaList.length > 0 && (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue