Skip to content

[Bug]: Ipfs gateway displayed in privacy setting page is confusing when user entered an invalid value #20848

Open
@chloeYue

Description

@chloeYue

Describe the bug

When user enter an invalid ipfs gateway on privacy setting page, there's message shows that the input is not valid. But when reopen the setting page, the invalide gateway still displayed and truncated.

Steps to reproduce

  1. Go to privacy settings page
  2. Add an invalid IPFS gateway "test test", see error message is displayed
  3. Close setting page and land on home page
  4. Go to privacy setting page again, see IPFS gateway is displayed as "test"

Expected
Either we cannot proceed with an invalid address, or when we reopen the settings page, the previous valid address is displayed.

Screen.Recording.2023-09-13.at.10.21.22.mov

Error messages or log output

No response

Version

v11.1.0

Build type

None

Browser

Chrome

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

To be fixed

Status

To be triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions