Skip to content

Commit 2e5307f

Browse files
committed
connected add user page to button
1 parent dd525c0 commit 2e5307f

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

website/src/components/dashboard/dashboard.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ export const AdminToolsTab = () => {
9898
Update Permissions for Existing User
9999
</Link>
100100
<br />
101+
<Link href="/admin/add-user">Invite new user</Link>
102+
<br />
101103
</div>
102104
<br />
103105

website/src/pages/admin/manage-users.page.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from "react"
22
import { UserRole } from "src/auth"
3+
import { Link } from "src/components"
34
import { AuthGuard } from "src/components/auth-guard"
45
import { ListHeader } from "src/components/user-management/list-header"
56
import { UserList } from "src/components/user-management/user-list"
@@ -16,7 +17,9 @@ const ManageUsersPage = () => {
1617
<header className={fullWidth}>
1718
<h1>User Management</h1>
1819
</header>
19-
<button className={css.addButton}>+ Add User</button>
20+
<Link href="/admin/add-user">
21+
<button className={css.addButton}>+ Add User</button>
22+
</Link>
2023
</div>
2124
<ListHeader>Current Users</ListHeader>
2225

0 commit comments

Comments
 (0)