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

web tutorial App.tsx bugs #8

Open
Pfed-prog opened this issue Oct 14, 2021 · 0 comments
Open

web tutorial App.tsx bugs #8

Pfed-prog opened this issue Oct 14, 2021 · 0 comments

Comments

@Pfed-prog
Copy link

https://blog.ceramic.network/how-to-build-a-simple-notes-app-with-idx/

bugs on App.tsx

missed importimport type { TileDocument } from '@ceramicnetwork/stream-tile'

also

TypeScript error in C:/blockchain/notes/idx-demo-app/src/App.tsx(377,9):
Type '{ authenticate: (seed: Uint8Array) => void; deleteDraft: () => void; openDraft: () => void; openNote: (streamID: string) => void; state: State; }' is not assignable to type 'IntrinsicAttributes & NotesListProps'.
Property 'authenticate' does not exist on type 'IntrinsicAttributes & NotesListProps'. TS2322

375 |       <div className={classes.toolbar} />
376 |       <NotesList

377 | authenticate={app.authenticate}
| ^
378 | deleteDraft={app.deleteDraft}
379 | openDraft={app.openDraft}
380 | openNote={app.openNote}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants