Skip to content

Migrate to $state instead of run #13459

Closed
@benmccann

Description

@benmccann

Describe the bug

$: showingHiddenPeople = false; is migrated to:

  let showingHiddenPeople;
  run(() => {
    showingHiddenPeople = false;
  });

Reproduction

https://github.com/immich-app/immich/blob/a019fb670e0c1edfea24cd6620e4eaecf54a0600/web/src/lib/components/asset-viewer/detail-panel.svelte#L100

Logs

No response

System Info

svelte 5 as of sep 30

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions