Fix title screen should not camel case
This commit is contained in:
parent
c21406ab1a
commit
cc68e42415
@ -10,7 +10,9 @@ const TopBar = () => {
|
|||||||
<div className="fixed left-0 top-0 z-50 flex h-12 w-full border-b border-border bg-background/50">
|
<div className="fixed left-0 top-0 z-50 flex h-12 w-full border-b border-border bg-background/50">
|
||||||
<div className="relative left-16 flex w-[calc(100%-64px)] items-center justify-between space-x-4 pl-6 pr-2">
|
<div className="relative left-16 flex w-[calc(100%-64px)] items-center justify-between space-x-4 pl-6 pr-2">
|
||||||
<div>
|
<div>
|
||||||
<span className="font-medium">{viewStateName}</span>
|
<span className="font-medium">
|
||||||
|
{viewStateName.replace(/([A-Z])/g, ' $1').trim()}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<CommandSearch />
|
<CommandSearch />
|
||||||
{/* Command without trigger interface */}
|
{/* Command without trigger interface */}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user