ephraimduncan / ephraimduncan/blocks
CommandMenu01 doesn't work – Cannot read properties of undefined (reading 'subscribe')
Open
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 162
- Avg merge
- 3h 11m
- Merged PRs (30d)
- 18
Description
The `CommandMenu01` example isn't working – instead of the menu, the following error appears in the Preview pane:
> Cannot read properties of undefined (reading 'subscribe')
See: https://play.blocks.so/api/open?url=https://blocks.so/r/command-menu-01.json
This is because `CommandDialog` and other `Command*` components must be wrapped inside a `Command` component. The same issue occurs with the `sidebar-01` block.
Contributor guide
Assessment
This issue has not been assessed yet.