Skip to content

Commit 4090be3

Browse files
committed
Fix desktop title
1 parent 4f46f18 commit 4090be3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/client/components/UserInfo/UserInfo.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ function UserInfo() {
2323
<div className='d-flex flex-column flex-md-row px-3 py-2 border-bottom border-separator align-items-center gap-1'>
2424
<div className='d-flex d-md-none'>
2525
<span className='fw-bold small'>
26-
DokChat {Utils.isElectron() && ![ 'xs', 'sm', 'md' ].includes(breakpoint)
27-
? 'Desktop' : null}
26+
DokChat
2827
</span>
2928
</div>
3029
<OverlayTrigger
@@ -37,7 +36,7 @@ function UserInfo() {
3736
</OverlayTrigger>
3837
<div className='d-none d-md-flex flex-fill justify-content-center align-items-center'>
3938
<span className='fw-bold'>
40-
DokChat
39+
DokChat {Utils.isElectron() ? 'Desktop' : null}
4140
</span>
4241
</div>
4342
<div className='d-flex align-items-center'>

0 commit comments

Comments
 (0)