Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/states/src/proxy.svelte.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class Proxy {
this.fields = fields
this.#original = value
this.#value = typeof value === 'object' ? value : { [this.fields.text]: value }
this.id = typeof value === 'object' ? (this.get('id') ?? id()) : value
this.id = typeof value === 'object' ? this.get('id') ?? id() : value
}

#processChildren() {
Expand Down