Fix title screen should not camel case

This commit is contained in:
Faisal Amir 2023-11-18 18:34:48 +07:00
parent c21406ab1a
commit cc68e42415

View File

@ -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 */}