Lint all files

This commit is contained in:
jeffvli 2023-07-01 19:10:05 -07:00
parent 22af76b4d6
commit 30e52ebb54
334 changed files with 76519 additions and 75932 deletions

View file

@ -5,26 +5,26 @@ import { useWindowSettings } from '/@/renderer/store/settings.store';
import { Platform } from '/@/renderer/types';
const TitlebarContainer = styled.header`
position: absolute;
top: 0;
right: 0;
z-index: 5000;
height: 65px;
background: var(--titlebar-controls-bg);
-webkit-app-region: drag;
position: absolute;
top: 0;
right: 0;
z-index: 5000;
height: 65px;
background: var(--titlebar-controls-bg);
-webkit-app-region: drag;
`;
export const TitlebarOutlet = () => {
const { windowBarStyle } = useWindowSettings();
const { windowBarStyle } = useWindowSettings();
return (
<>
{windowBarStyle === Platform.WEB && (
<TitlebarContainer>
<Titlebar />
</TitlebarContainer>
)}
<Outlet />
</>
);
return (
<>
{windowBarStyle === Platform.WEB && (
<TitlebarContainer>
<Titlebar />
</TitlebarContainer>
)}
<Outlet />
</>
);
};