VandyHacks/vaken

View on GitHub
src/client/routes/dashboard/Frame.tsx

Summary

Maintainability
A
2 hrs
Test Coverage
C
78%

Function Frame has 59 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Frame: FunctionComponent = (): JSX.Element => {
    const currentUser = useContext(AuthContext);
    const [ActionButton, setActionButton] = useState<React.ReactNode>(null);
    const [menuOpen, setMenuOpen] = useState(false);

Severity: Major
Found in src/client/routes/dashboard/Frame.tsx - About 2 hrs to fix

There are no issues that match your filters.

Category
Status