pritishvaidya/jsx-to-pdf

View on GitHub

Showing 1 of 1 total issue

Function useJsxToPdf has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function useJsxToPdf(options = {}) {
  const [loading, updateLoading] = useState(false);
  const [error, updateError] = useState(false);
  const [errorText, updateErrorText] = useState('');

Severity: Minor
Found in src/jsx-to-pdf-hook.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language