Settings updates
This commit is contained in:
@@ -4,15 +4,14 @@ import { useCommonHooks } from 'hooks';
|
||||
import { useState } from 'react';
|
||||
import { stackClasses, textClasses } from 'styles';
|
||||
|
||||
function AppItem({ url, icon, name }: any) {
|
||||
function AppItem({ url, icon, name, linkDisabled }: any) {
|
||||
const [textDecoration, setTextDecoration] = useState<string>('none');
|
||||
const [hover, setHover] = useState<boolean>(false);
|
||||
const { isMobile } = useCommonHooks();
|
||||
|
||||
return (
|
||||
<Box
|
||||
component='a'
|
||||
href={`https://${url}`}
|
||||
href={linkDisabled ? undefined : `https://${url}`}
|
||||
onMouseOver={() => {
|
||||
setTextDecoration('underline');
|
||||
setHover(true);
|
||||
|
||||
Reference in New Issue
Block a user