Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loadNFTMarker and loadNFTMarkers in ARControllerNFT.ts are not updated #251

Open
kalwalt opened this issue Dec 19, 2022 · 0 comments
Open
Assignees
Labels
bug Something isn't working enhancement New feature or request Typescript

Comments

@kalwalt
Copy link
Member

kalwalt commented Dec 19, 2022

I missed to change some part of the code done in #231.
loadNFTMarkers (ARControllerNFT.ts) should be:

(ids: number[]) => {
  this.nftMarkerCount += ids.length;
  onSuccess(ids);
},

but now is

(ids) => {
    this.nftMarkerCount += ids.length;
    onSuccess(ids);
},

loadNFTMarker should be:

 (ids: number) => {
    this.nftMarkerCount += ids.length;
    onSuccess(ids);
},
(ids: any) => {
     this.nftMarkerCount += ids.length;
     onSuccess(ids);
},
@kalwalt kalwalt added bug Something isn't working enhancement New feature or request Typescript labels Dec 19, 2022
@kalwalt kalwalt self-assigned this Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request Typescript
Projects
None yet
Development

No branches or pull requests

1 participant