Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix slots infinite rendering when no
context
prop is provided (#2219)
* Add basic tests for `createSlots` * Fix infinite slot rendering when context prop not provided * Create changelog * Update to use existing tests
- Loading branch information
1 parent
47725a9
commit af534f1
Showing
3 changed files
with
15 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/react": patch | ||
--- | ||
|
||
Fix slots infinite rendering when no `context` prop is provided |
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