refactor(base-layout): renammed one letter variable

This commit is contained in:
Corentin Thomasset 2022-05-11 15:09:48 +02:00
parent 347144bfe8
commit 383d975695
No known key found for this signature in database
GPG key ID: 3103EB5E79496F9C

View file

@ -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"
/>