mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
remove room link from header (for now)
This commit is contained in:
parent
39eb97b777
commit
f809ab40b7
1 changed files with 1 additions and 12 deletions
|
@ -27,7 +27,7 @@ export interface HeaderProps {}
|
||||||
const Header: FC<HeaderProps> = observer(() => {
|
const Header: FC<HeaderProps> = observer(() => {
|
||||||
const [isScrolled, setIsScrolled] = useState(false);
|
const [isScrolled, setIsScrolled] = useState(false);
|
||||||
const { showModal } = useModal();
|
const { showModal } = useModal();
|
||||||
const { isUser, user, fetched, isTester } = useAuth();
|
const { isUser, user, fetched } = useAuth();
|
||||||
const { hasFlowUpdates, hasLabUpdates } = useFlow();
|
const { hasFlowUpdates, hasLabUpdates } = useFlow();
|
||||||
const { borisCommentedAt } = useUpdates();
|
const { borisCommentedAt } = useUpdates();
|
||||||
const { indicatorEnabled } = useNotifications();
|
const { indicatorEnabled } = useNotifications();
|
||||||
|
@ -86,17 +86,6 @@ const Header: FC<HeaderProps> = observer(() => {
|
||||||
ЛАБ
|
ЛАБ
|
||||||
</Anchor>
|
</Anchor>
|
||||||
|
|
||||||
{isTester && (
|
|
||||||
<Anchor
|
|
||||||
className={classNames(styles.item, styles.lab, {
|
|
||||||
[styles.has_dot]: hasLabUpdates && !indicatorEnabled,
|
|
||||||
})}
|
|
||||||
href={URLS.ROOM}
|
|
||||||
>
|
|
||||||
РУМ
|
|
||||||
</Anchor>
|
|
||||||
)}
|
|
||||||
|
|
||||||
<Anchor
|
<Anchor
|
||||||
className={classNames(styles.item, styles.boris, {
|
className={classNames(styles.item, styles.boris, {
|
||||||
[styles.has_dot]: hasBorisUpdates && !indicatorEnabled,
|
[styles.has_dot]: hasBorisUpdates && !indicatorEnabled,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue