xylabs/sdk-react

View on GitHub
packages/pixel-debugger/src/components/PixelDebugger.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function PixelDebugger has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const PixelDebugger: React.FC = () => {
  const { isDebugging } = useContext(DebugUserEventsContext)
  // TODO - when adding in the location hook to detect location change, was dropping the setEvents in usePixelAltSendHand
  const theme = useTheme()
  const [displayEvents, setDisplayEvents] = useState(false)
Severity: Major
Found in packages/pixel-debugger/src/components/PixelDebugger.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status