Skip to content

Commit

Permalink
fix: remove hardcoded value in react 'Show' template
Browse files Browse the repository at this point in the history
  • Loading branch information
29Hido authored and dunglas committed Feb 28, 2024
1 parent ac7e75f commit cb47c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/react/components/foo/Show.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const ShowView = ({del, deleteError, deleted, error, loading, retrieved: item}:
{{else if embedded}}
<Links items={ { href: `/{{{embedded.name}}}/show/${encodeURIComponent(item["{{{name}}}"]["@id"])}`, name: item["{{{name}}}"]["@id"] } }/>
{{else}}
{item['{{{name}}}']}retrieved
{item['{{{name}}}']}
{{/if}}
</td>
</tr>
Expand Down

0 comments on commit cb47c8b

Please sign in to comment.