ephraimduncan / ephraimduncan/blocks

CommandMenu01 doesn't work – Cannot read properties of undefined (reading 'subscribe')

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.