MathiasKandelborg/TRUE-framework

View on GitHub
components/UI/Pages/page/PreviewPage.tsx

Summary

Maintainability
A
0 mins
Test Coverage

Function CustomPagePreview has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

const CustomPagePreview: React.FC<ICustomPagePreviewProps> = (props) => {
  const { currentRoute } = props

  const router = useRouter()
  const [pageData, setRouteData] = useState(currentRoute)
Severity: Minor
Found in components/UI/Pages/page/PreviewPage.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status