Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Playground variants don't show correctly (#1829)
* Refactor: use the `ALL` constant for tests * Fix: context is not passed to `getVariant` call This commit fixes a bug wherein a toggle with variants would show as enabled but without variants. This was because the `getVariant` call didn't receive the provided context as an argument.
- Loading branch information
1 parent
19b95b1
commit 05c390e
Showing
2 changed files
with
61 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters