fix: navigation commands name
parent
447ed6d941
commit
17a15e2917
|
@ -15,7 +15,7 @@ const router = useRouter()
|
|||
useCommand({
|
||||
scope: 'Navigation',
|
||||
|
||||
name: () => props.text ?? typeof props.to === 'string' ? props.to as string : props.to.name,
|
||||
name: () => props.text ?? (typeof props.to === 'string' ? props.to as string : props.to.name),
|
||||
icon: () => props.icon,
|
||||
|
||||
onActivate() {
|
||||
|
|
Loading…
Reference in New Issue