sparkletown/sparkle

View on GitHub
src/pages/Admin/ToolsPage/ToolsPage.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function ToolsPage has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const ToolsPage: React.FC = () => {
  const [chosenTool, setChosenTool] = useState<SelfServeScript>();

  const clearChosenTool = useCallback(() => setChosenTool(undefined), []);

Severity: Minor
Found in src/pages/Admin/ToolsPage/ToolsPage.tsx - About 1 hr to fix

There are no issues that match your filters.

Category
Status