feat(ui): remove assist tabs for header

This commit is contained in:
nick-delirium 2023-10-03 09:53:43 +02:00
parent 6289fa8503
commit 21e3170b72
4 changed files with 0 additions and 39 deletions

View file

@ -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;

View file

@ -1,6 +0,0 @@
.btnLink {
cursor: pointer;
color: $green;
text-decoration: underline;
white-space: nowrap;
}

View file

@ -1 +0,0 @@
export { default } from './AssistTabs';

View file

@ -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 && (