Bookmark group deletion update; Icon updates
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { Icon } from '@iconify/react';
|
||||
import { ActionIcon, Box, Stack, Text, Tooltip } from '@mantine/core';
|
||||
import { useCommonHooks } from 'hooks';
|
||||
import { useState } from 'react';
|
||||
import { FiAlertCircle } from 'react-icons/fi';
|
||||
import { actionIconClasses, boxClasses, textClasses } from 'styles';
|
||||
|
||||
function AppSettingsItem({ url, icon, name, enabled }: any) {
|
||||
function AppSettingsItem({ url, icon, name, enabled, allIcons }: any) {
|
||||
const Icon = allIcons[icon];
|
||||
const [textDecoration, setTextDecoration] = useState<string>('none');
|
||||
const [hover, setHover] = useState<boolean>(false);
|
||||
const { isMobile, theme } = useCommonHooks();
|
||||
@@ -58,7 +58,7 @@ function AppSettingsItem({ url, icon, name, enabled }: any) {
|
||||
paddingTop: isMobile ? '0' : '32px',
|
||||
}}
|
||||
>
|
||||
<Icon icon={`mdi:${icon}`} height={64} width={64} />
|
||||
{Icon && <Icon style={{ height: '64px', width: '64px' }} />}
|
||||
</Stack>
|
||||
<Stack
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user