baublet/w8mngr

View on GitHub
client/helpers/useLoginWithToken.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useLoginWithToken has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function useLoginWithToken() {
  const { replace } = useHistory();
  const { error, success } = useToast();
  const [login] = useLoginWithTokenMutation({
    refetchQueries: [GetCurrentUserDocument],
Severity: Minor
Found in client/helpers/useLoginWithToken.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status