Various cleanup

This commit is contained in:
jeffvli 2023-01-02 02:05:30 -08:00
parent 90dec929f4
commit 4326f6cf91
3 changed files with 1 additions and 9 deletions

View file

@ -1,6 +1,6 @@
import { Flex, FlexProps } from '@mantine/core';
import { motion } from 'framer-motion';
import { useEffect, useRef } from 'react';
import { useRef } from 'react';
import styled from 'styled-components';
import { useShouldPadTitlebar } from '/@/renderer/hooks';
@ -71,11 +71,6 @@ export const PageHeader = ({
const ref = useRef(null);
const padRight = useShouldPadTitlebar();
useEffect(() => {
const rootElement = document.querySelector(':root') as HTMLElement;
rootElement?.style?.setProperty('--header-opacity', '0');
}, []);
return (
<Container
ref={ref}