Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Fix unified li nesting error #2781

Merged
merged 2 commits into from
Sep 30, 2021
Merged

Fix unified li nesting error #2781

merged 2 commits into from
Sep 30, 2021

Conversation

iamacook
Copy link
Member

@iamacook iamacook commented Sep 30, 2021

What it solves

Resolves console warning regarding <li> descendants:

image

How this PR fixes it

Instead of using an <li> element, a <div> is used instead.

How to test it

Open Safes owned on ${network} collapsed menu and check console that no warning is there.

@github-actions
Copy link

CLA Assistant Lite All Contributors have signed the CLA.

@iamacook iamacook changed the base branch from dev to l2-ux September 30, 2021 08:52
@iamacook iamacook requested a review from katspaugh September 30, 2021 08:52
@iamacook iamacook self-assigned this Sep 30, 2021
@@ -90,11 +90,12 @@ export const SafeList = ({ onSafeClick }: Props): ReactElement => {
onSafeClick={onSafeClick}
loadedSafes={loadedSafes}
shouldScrollToSafe
//component="div"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's delete this

@github-actions
Copy link

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

E2E Tests Failed
Check the results here: https://github.com/gnosis/safe-react-e2e-tests/actions/runs/1291008335

Failed tests:

  • ❌ Add an existing safe Add an existing safe

Copy link
Member

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@katspaugh katspaugh merged commit 8a7e88e into l2-ux Sep 30, 2021
@katspaugh katspaugh deleted the fix-unified-li-nesting-error branch September 30, 2021 12:40
@github-actions github-actions bot locked and limited conversation to collaborators Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants