nexxtway/react-rainbow

View on GitHub
src/components/Dataset/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function Dataset has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function Dataset(props) {
    const datasetId = useUniqueIdentifier('dataset');
    const { title: label, values: data, ...rest } = props;
    const { registerDataset, unregisterDataset, updateDataset } = React.useContext(ChartContext);
    const isRegistered = useRef();
Severity: Minor
Found in src/components/Dataset/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status