Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix [BUG] Fix 2 Duplication issues in multiple files with gitauto model #226

Update src/Helpers/StatusBadge.js

13f2cfc
Select commit
Loading
Failed to load commit list.
Closed

Fix [BUG] Fix 2 Duplication issues in multiple files with gitauto model #226

Update src/Helpers/StatusBadge.js
13f2cfc
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jun 21, 2024 in 0s

9 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 9
           

Complexity increasing per file
==============================
- src/Helpers/StatusBadge.js  4
         

See the complete overview on Codacy

Annotations

Check notice on line 3 in src/Helpers/StatusBadge.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Helpers/StatusBadge.js#L3

'itemsLength' is missing in props validation

Check notice on line 3 in src/Helpers/StatusBadge.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Helpers/StatusBadge.js#L3

Replace `·itemsLength,·allItemsLoaded,·lastModified,·itemType·` with `⏎··itemsLength,⏎··allItemsLoaded,⏎··lastModified,⏎··itemType,⏎`

Check failure on line 4 in src/Helpers/StatusBadge.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Helpers/StatusBadge.js#L4

'React' must be in scope when using JSX

Check notice on line 5 in src/Helpers/StatusBadge.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Helpers/StatusBadge.js#L5

Replace `'·'` with `"·"`

Check failure on line 6 in src/Helpers/StatusBadge.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Helpers/StatusBadge.js#L6

'React' must be in scope when using JSX

Check notice on line 14 in src/Helpers/StatusBadge.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Helpers/StatusBadge.js#L14

Delete `·`

Check failure on line 15 in src/Helpers/StatusBadge.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Helpers/StatusBadge.js#L15

'React' must be in scope when using JSX

Check notice on line 15 in src/Helpers/StatusBadge.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Helpers/StatusBadge.js#L15

Replace `·{!allItemsLoaded·&&·<><br/><ProgressBar·/></>}` with `{"·"}⏎····{!allItemsLoaded·&&·(⏎······<>⏎········<br·/>⏎········<ProgressBar·/>⏎······</>⏎····)}{"·"}⏎···`

Check notice on line 18 in src/Helpers/StatusBadge.js

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Helpers/StatusBadge.js#L18

Insert `⏎`