Improve naming consistency

This commit is contained in:
Andrew Kingston 2024-03-28 18:27:27 +00:00
parent 98c91a005d
commit 46fa157dea
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@
await save([...e.detail])
}
const addLink = async () => {
const addNavItem = async () => {
await save([
...navItems,
{
@ -76,7 +76,7 @@
/>
{/if}
<div class="list-footer" on:click={addLink} class:empty={!navItems.length}>
<div class="list-footer" on:click={addNavItem} class:empty={!navItems.length}>
<div class="add-button">Add nav item</div>
</div>
</div>