mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-23 00:06:15 -04:00
refactor(base-layout): renammed one letter variable
This commit is contained in:
parent
347144bfe8
commit
383d975695
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ const commitSha = import.meta.env.GIT_SHORT_SHA;
|
|||
const makeLabel = (text: string, to: string) => () => h(RouterLink, { to }, { default: () => text });
|
||||
const makeIcon = (icon: Component) => () => h(NIcon, null, { default: () => h(icon) });
|
||||
|
||||
const m = toolsByCategory.map((category) => ({
|
||||
const menuOptions = toolsByCategory.map((category) => ({
|
||||
label: category.name,
|
||||
key: category.name,
|
||||
type: 'group',
|
||||
|
@ -53,7 +53,7 @@ const m = toolsByCategory.map((category) => ({
|
|||
:value="(route.name as string)"
|
||||
:collapsed-width="64"
|
||||
:collapsed-icon-size="22"
|
||||
:options="m"
|
||||
:options="menuOptions"
|
||||
:indent="20"
|
||||
/>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue