Skip to content

Docs showing setContext instead of getContext #13739

@Krossmaskinen

Description

@Krossmaskinen

Describe the bug

The docs on context show const value = setContext('counter'); instead of const value = getContext('counter');

Reproduction

https://svelte-omnisite.vercel.app/docs/svelte/context

Logs

No response

System Info

Firefox (don't really think it matters though ^^)

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions