Standardization
This commit is contained in:
@@ -29,7 +29,7 @@ export function AppItem({
|
||||
const { ref, width, height } = useElementSize();
|
||||
const allIcons: any = { ...fa6, ...vsc, ...si };
|
||||
const Icon = allIcons[icon];
|
||||
const { isMobile, filter } = useCommonHooks();
|
||||
const { isMobile, iconFilter } = useCommonHooks();
|
||||
const [textDecoration, setTextDecoration] = useState<string>('none');
|
||||
const [hover, setHover] = useState<boolean>(false);
|
||||
const validUrl =
|
||||
@@ -102,7 +102,7 @@ export function AppItem({
|
||||
style={{
|
||||
height: scale * 32,
|
||||
width: scale * 32,
|
||||
filter: filter(selectedTheme),
|
||||
filter: iconFilter(selectedTheme),
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user