some tidy up

This commit is contained in:
Peter Clement 2025-01-16 08:59:04 +00:00
parent 094881e807
commit e14bf007db
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
const dispatch = createEventDispatcher()
export let anchor: any | undefined = undefined
export let anchor: HTMLElement | undefined = undefined
export let align: string | undefined = "right"
export let portalTarget: any | undefined = undefined
export let minWidth: number | undefined = undefined

View File

@ -73,7 +73,7 @@
return componentsUsingState
}
function handleKeySelect(event: CustomEvent) {
function handleStateKeySelect(event: CustomEvent) {
selectedKey = event.detail
if (!selectedKey) {
throw new Error("No state key selected")
@ -106,7 +106,7 @@
<Combobox
value={selectedKey}
options={keyOptions}
on:change={handleKeySelect}
on:change={handleStateKeySelect}
/>
{#if componentsUsingState.length > 0}
<div class="components-list">