Skip to content

Docs: linkToRecord example code showing undefined variable #6497

Closed

Description

Hello,

From the linkToRecord documentation there is a line of code which returning <Link> with {seller.username} as it's value. Unfortunately, it's showing in the editor:
Screen Shot 2021-08-10 at 21 28 30
which I think the seller variable is not undefined yet.

I know it is just an example code that we need to change to match with our production code. But is it a good idea to make the variable more clear to the reader?

Thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions