src/client/components/Buttons/Button.tsx
Function Button
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const Button: FC<ButtonProps> = props => {
const [unresolved, setUnresolved] = useState(false);
const { icon, iconAlt } = props;
const iconElement = useMemo(() => getIcon(icon, iconAlt), [icon, iconAlt]);
- Create a ticketCreate a ticket