PrimalHQ / primal-web-app

Primal's web app for Nostr, as experienced on primal.net.
https://primal.net
MIT License
189 stars 37 forks source link

Clicking "post" on new note results in Uncaught Error #65

Open Bayernatoor opened 5 months ago

Bayernatoor commented 5 months ago

Describe the bug

No action when clicking Post on a new note when using primal web app on Google Chrome.

Steps to reproduce

  1. Open primal.net on Google Chrome browser
  2. Create a new note
  3. Press Post

Expected behavior

Pressing Post on a new note should post said note.

Environment

Browser: Google Chrome: Version 123.0.6312.86 (Official Build) (64-bit) OS: Debian GNU/Linux 11 (bullseye)

Screenshots & error:

Error: Uncaught (in promise) Error: Unknown letter: "o". Allowed: qpzry9x8gf2tvdw0s3jn54khce6mua7l

image

Bayernatoor commented 5 months ago

I see the issue. See screenshot, but the problem was in the way my note was written. @theonevortexon , there was a space missing between theonevortex and the word on. Fixing that, fixed the issue. Probably just need to handle that error and bubble it up to the user for correction.

image