Add tRPC user query

This commit is contained in:
Manuel
2023-07-29 16:08:58 +02:00
parent 5c4e1a4bb8
commit e4e1f2e32e
4 changed files with 144 additions and 20 deletions

View File

@@ -14,6 +14,7 @@ import {
TextInput,
ThemeIcon,
UnstyledButton,
useMantineTheme,
} from '@mantine/core';
import {
IconAlertTriangle,
@@ -47,11 +48,12 @@ interface MainLayoutProps {
export const MainLayout = ({ children }: MainLayoutProps) => {
const { t } = useTranslation();
const { attributes } = usePackageAttributesStore();
const theme = useMantineTheme();
return (
<AppShell
styles={{
root: {
background: '#f1f1f1',
background: theme.colorScheme === 'dark' ? theme.colors.dark[6] : theme.colors.gray[1],
},
}}
navbar={