VandyHacks/vaken

View on GitHub
src/client/components/Buttons/Button.tsx

Summary

Maintainability
A
1 hr
Test Coverage
B
89%

Function Button has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const Button: FC<ButtonProps> = props => {
    const [unresolved, setUnresolved] = useState(false);

    const { icon, iconAlt } = props;
    const iconElement = useMemo(() => getIcon(icon, iconAlt), [icon, iconAlt]);
Severity: Minor
Found in src/client/components/Buttons/Button.tsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status