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

Lesson 9 for Fullstack for front-end developers code is causing edit icon to dissapear #408

Open
ErikCH opened this issue Mar 10, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ErikCH
Copy link
Contributor

ErikCH commented Mar 10, 2023

Originally from discord

Hi, trying to follow the course (notes app) and when setting the update override, it works but the icon vanishes from the note ui. Any idea why ?

Steps to reproduce:

  1. Following Full stack for front-end developers course
  2. Step 9 shows to add this code
<NoteUICollection overrideItems={({ item, idx }) => {
  return {
    overrides: {
      Vector31472464: {
        as: 'button',
        onClick: () => {
          setShowUpdateModal(true)
          setUpdateNote(item)
        }
      }
    }
  }
}}
/>
  1. Go back into app, edit icon is missing.
@ErikCH
Copy link
Contributor Author

ErikCH commented Mar 10, 2023

I was able to reproduce this. Will look into it further

@ErikCH ErikCH added the bug Something isn't working label Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant