cosmas28/toDo-ui

View on GitHub
components/AuthPageLayout.tsx

Summary

Maintainability
A
0 mins
Test Coverage

Showing 0 of 3 total issues

Similar blocks of code found in 8 locations. Consider refactoring.
Invalid

const Header = styled.div<HeaderProps>`
display: ${(props): string => (props.isDisplayed ? 'flex' : 'none')};
flex-wrap: wrap;
width: 100%;
border-bottom: 1px solid #bcbcbc;
Severity: Major
Found in components/AuthPageLayout.tsx and 7 other locations - About 40 mins to fix
components/Button.tsx on lines 29..33
components/Common/Dropdown.tsx on lines 49..68
components/InputBox.tsx on lines 26..33
components/InputBox.tsx on lines 39..44
components/InputBox.tsx on lines 50..66
components/MenuButton.tsx on lines 31..36
components/Modal.tsx on lines 9..20

Similar blocks of code found in 2 locations. Consider refactoring.
Invalid

<Link href="/login">
<Tab active={activeTab == 'Log in' ? true : false}>Log in</Tab>
</Link>
Severity: Minor
Found in components/AuthPageLayout.tsx and 1 other location - About 35 mins to fix
components/AuthPageLayout.tsx on lines 85..87

Similar blocks of code found in 2 locations. Consider refactoring.
Invalid

<Link href="/">
<Tab active={activeTab == 'Sign up' ? true : false}>Sign up</Tab>
</Link>
Severity: Minor
Found in components/AuthPageLayout.tsx and 1 other location - About 35 mins to fix
components/AuthPageLayout.tsx on lines 88..90

There are no issues that match your filters.

Category
Status