Skip to content

onMarkerFound not working as expected #42

Description

@mpopovs

When use 'useState' onMarkersFound prop on ARMarker. My App broke after the marker was found.
But when using only console.log everything works perfectly
<ARMarker params={{ smooth: true }} type={"barcode"} barcodeValue ={31} onMarkerFound={() => { console.log('Marker 31'); setMarkerName("Bird 1984"); }} >

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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