You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
CLI:
Version: 10.0.0
Color support: true
Platform:
CPU Architecture: x86_64
OS: linux
Environment:
ROME_LOG_DIR: unset
NO_COLOR: unset
TERM: "xterm-256color"
Rome Configuration:
Status: loaded
Formatter disabled: false
Linter disabled: false
Workspace:
Open Documents: 0
Discovering running Rome servers...
Server:
Status: stopped
What happened?
app/modules/[deleted].tsx:102:67 lint/a11y/useValidAnchor ━━━━━━━━━━
✖ Provide a valid value for the attribute href.
100 │ [deleted]
101 │ [deleted]
> 102 │ <td>{cExport.exportBinaryId != null && <a href={getFileUrl({ id: cExport.exportBinaryId })}>Download</a>}</td>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103 │ [deleted]
104 │ [deleted]
ℹ The href attribute should be a valid a URL
ℹ Check this thorough explanation to better understand the context.
The getFileUrl returns a string and it can't be null / undefined.
Expected result
This code should be considered as valid.
Code of Conduct
I agree to follow Rome's Code of Conduct
The text was updated successfully, but these errors were encountered:
Environment information
What happened?
The
getFileUrl
returns a string and it can't be null / undefined.Expected result
This code should be considered as valid.
Code of Conduct
The text was updated successfully, but these errors were encountered: