fix: logout button design fix
Signed-off-by: Varun Raj <mailme@varunraj.in>
This commit is contained in:
1 parent
33a961b734
commit
adf64667c4
1 file changed
+4
-2
@@ -36,9 +36,11 @@ export default function ProfileInfo() {
|
|||||||
{user && (
|
{user && (
|
||||||
<>
|
<>
|
||||||
<p className="text-sm">{user?.name}</p>
|
<p className="text-sm">{user?.name}</p>
|
||||||
{!user.isUsingAPIKey && <Button variant="destructive" className="mx-4" onClick={handleLogout}>
|
{!user.isUsingAPIKey && (
|
||||||
|
<Button variant="destructive" className="mx-4 h-6 text-xs" onClick={handleLogout}>
|
||||||
Log Out
|
Log Out
|
||||||
</Button>}
|
</Button>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user