Neovici/cosmoz-page-router

View on GitHub
src/use-hash-param.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function useHashParam has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const useHashParam = (hashParam?: string) => {
    const parameterized = useMemo(() => parameterize(hashParam), [hashParam]),
        [param, setParam] = useState(parameterized),
        ref = useRef(param);

Severity: Minor
Found in src/use-hash-param.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status