Skip to content

Commit e8e81ce

Browse files
committed
Fix type error on template page
1 parent 903e8ee commit e8e81ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/pages/TemplatesPages/OrganizationPage/TemplatePage/TemplatePage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ export const TemplatePage: React.FC = () => {
6666
{
6767
key: "name",
6868
name: "Name",
69-
renderer: (nameField: string | WorkspaceBuild, workspace: Workspace) => {
70-
return <Link to={`/workspaces/${workspace.id}`}>{nameField}</Link>
69+
renderer: (_, workspace: Workspace) => {
70+
return <Link to={`/workspaces/${workspace.id}`}>{workspace.name}</Link>
7171
},
7272
},
7373
]

0 commit comments

Comments
 (0)