We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38b5787 commit b3cf9feCopy full SHA for b3cf9fe
client/src/components/user/UsersPage.tsx
@@ -28,8 +28,13 @@ const UsersPage = () => {
28
29
<p>This page is private. You can access it only when logged in.</p>
30
<div className="mt-4 mb-4">
31
- <div className="mb-4">{userId && <ChipUserId userId={userId} />}</div>
32
- <Search />
+ {userId ? (
+ <div className="mb-4">
33
+ <ChipUserId userId={userId} />
34
+ </div>
35
+ ) : (
36
+ <Search />
37
+ )}
38
</div>
39
<div className="overflow-x-auto w-full">
40
<table className="table-auto border-collapse w-full">
0 commit comments