This commit is contained in:
diced 2023-03-24 17:20:33 -07:00
parent 12bb804e6a
commit cc8a5411ab
No known key found for this signature in database
GPG key ID: 370BD1BA142842D1
4 changed files with 19 additions and 14 deletions

View file

@ -42,7 +42,7 @@
"@prisma/internals": "^4.10.1",
"@prisma/migrate": "^4.10.1",
"@sapphire/shapeshift": "^3.8.1",
"@tabler/icons-react": "^2.7.0",
"@tabler/icons-react": "^2.11.0",
"@tanstack/react-query": "^4.24.10",
"argon2": "^0.30.3",
"cookie": "^0.5.0",

View file

@ -42,6 +42,7 @@ import {
IconTag,
IconUpload,
IconUser,
IconUserCog,
IconUsers,
} from '@tabler/icons-react';
import useFetch from 'hooks/useFetch';
@ -355,7 +356,7 @@ export default function Layout({ children, props }) {
<Menu.Target>
<Button
leftIcon={
avatar ? <Image src={avatar} height={32} radius='md' /> : <IconSettings size='1rem' />
avatar ? <Image src={avatar} height={32} radius='md' /> : <IconUserCog size='1rem' />
}
variant='subtle'
color='gray'

View file

@ -28,9 +28,9 @@ import {
IconGraphOff,
IconPhotoMinus,
IconReload,
IconSettings,
IconTrash,
IconUserCheck,
IconUserCog,
IconUserExclamation,
IconUserMinus,
IconUserX,
@ -503,7 +503,11 @@ export default function Manage({ oauth_registration, oauth_providers: raw_oauth_
<Text>Preview:</Text>
<Button
leftIcon={
fileDataURL ? <Image src={fileDataURL} height={32} radius='md' /> : <IconSettings size='1rem' />
fileDataURL ? (
<Image src={fileDataURL} height={32} width={32} radius='md' />
) : (
<IconUserCog size='1rem' />
)
}
size='xl'
p='sm'

View file

@ -2432,22 +2432,22 @@ __metadata:
languageName: node
linkType: hard
"@tabler/icons-react@npm:^2.7.0":
version: 2.7.0
resolution: "@tabler/icons-react@npm:2.7.0"
"@tabler/icons-react@npm:^2.11.0":
version: 2.11.0
resolution: "@tabler/icons-react@npm:2.11.0"
dependencies:
"@tabler/icons": 2.7.0
"@tabler/icons": 2.11.0
prop-types: ^15.7.2
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0
checksum: 365e130dd3904e1b7e224a3f9c839744e48ae5f1bd59968c9e439fc1d635b95028a117aa08c1759f0fc943d82dfbd1e78f9ac31c7fdcaf20baed036c372e9e52
checksum: 12aa82bfeee168e2a12adc7848a8bdd36e595f3ce02129bf662b47b59dfb188c74e4f0f8c64443d939815ba4f944121fd19f31700dbc383ac7bf999a4a5f16f2
languageName: node
linkType: hard
"@tabler/icons@npm:2.7.0":
version: 2.7.0
resolution: "@tabler/icons@npm:2.7.0"
checksum: db6b61b1a02ed74d1f9fd6943175dbfd1c8f24dae30cd56f4bc86d214d8e4ecf9e28022d16cbb3a3064780ee3543610f53e65f3592ea9f9ca22ddeebf4ec44ee
"@tabler/icons@npm:2.11.0":
version: 2.11.0
resolution: "@tabler/icons@npm:2.11.0"
checksum: 23d7f9f15f46d9e9edd26d6220ff5c3cf125a51beb23d0fd2a1f8a7b871f2632eec93056a044bc6042c3eba54136e51c037987c83c8d8bc4d7b20bf78519d776
languageName: node
linkType: hard
@ -11877,7 +11877,7 @@ __metadata:
"@prisma/internals": ^4.10.1
"@prisma/migrate": ^4.10.1
"@sapphire/shapeshift": ^3.8.1
"@tabler/icons-react": ^2.7.0
"@tabler/icons-react": ^2.11.0
"@tanstack/react-query": ^4.24.10
"@types/cookie": ^0.5.1
"@types/katex": ^0.16.0