morten-olsen/react-native-debug-console

View on GitHub
packages/lib/src/components/data/storage.js

Summary

Maintainability
A
1 hr
Test Coverage

Function useStorage has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const useStorage = (provider) => {
  const [data, setData] = useState({});

  const update = async () => {
    const keys = await provider.getAllKeys();
Severity: Minor
Found in packages/lib/src/components/data/storage.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status