Skip to content

Fix HomePage onNav ignoring its screen argument #155

Description

@sshdopey

Context

HomePage passes onNav={() => router.push('/explore')}, ignoring the screen argument, so the prop's signature is misleading.

Scope

  • Either route by the argument or simplify the prop to match its single behaviour.

Acceptance criteria

  • The navigation prop's type matches its behaviour.

Pointers

src/app/page.tsx, src/screens/Landing.tsx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrefactorInternal cleanup and code reuse, no behaviour change

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions