Skip to content

Commit

Permalink
Fix popover text check (#157)
Browse files Browse the repository at this point in the history
* fix: change to use gstext - in case text is an empty string

* fix: whitelist issues for interplay, storybook etc
  • Loading branch information
shomukai authored Feb 1, 2022
1 parent 00b3df7 commit 5dfa13f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion audit-ci.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"high": true,
"allowlist": [1002475, 1002487, 1002492, 1002522, 1002627, 1002775]
"allowlist": [1002475, 1002487, 1002492, 1002522, 1002627, 1002775, 1006899, 1006884, 1005024, 1006883,
1005291, 1005059, 1004946, 1005154, 1005125, 1005174, 1004967, 1005029, 1006724, 1006898]
}
2 changes: 1 addition & 1 deletion lib/components/Popover/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export default function Popover({
return (
<ThemeProvider theme={theme}>
<Container inlineBlock={inlineBlock} {...props}>
{text && (
{!!text && (
<Text
className="popoverText"
textAlign={textAlign}
Expand Down

0 comments on commit 5dfa13f

Please sign in to comment.