xylabs/sdk-react

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

Summary

Maintainability
A
1 hr
Test Coverage

Function PixelDebugger has 49 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: Minor
Found in packages/pixel-debugger/src/components/PixelDebugger.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status