VandyHacks/vaken

View on GitHub
src/client/routes/events/ManageEvents.tsx

Summary

Maintainability
A
3 hrs
Test Coverage
D
61%

Function ManageEvents has 88 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const ManageEvents: FunctionComponent = (): JSX.Element => {
    const [output, setOutput] = useState('No updates to report');
    const [addOrUpdateEvent] = useAddOrUpdateEventMutation();
    const [removeAbsentEvents] = useRemoveAbsentEventsMutation();
    const [assignEventToCompany] = useAssignEventToCompanyMutation();
Severity: Major
Found in src/client/routes/events/ManageEvents.tsx - About 3 hrs to fix

TODO found
Open

        // TODO(#473): Use graphql for this fetch to take advantage of

TODO found
Open

        // TODO: Add events table and said UI component or just table, with columns being event attributes + time added

There are no issues that match your filters.

Category
Status