Skip to content

Commit

Permalink
Fix style options
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Nov 2, 2019
1 parent 8eaef4a commit 782297d
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions packages/component/src/Activity/Bubble.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,16 @@ function isPositive(value) {
const Bubble = ({ 'aria-hidden': ariaHidden, children, className, fromUser, nub }) => {
const [{ bubble: bubbleStyleSet }] = useStyleSet();

const {
bubbleBorderWidth,
bubbleFromUserBorderWidth,
bubbleFromUserNubSize,
bubbleNubSize,
bubbleNubOffset,
bubbleFromUserNubOffset
} = useStyleOptions();
const [
{
bubbleBorderWidth,
bubbleFromUserBorderWidth,
bubbleFromUserNubSize,
bubbleNubSize,
bubbleNubOffset,
bubbleFromUserNubOffset
}
] = useStyleOptions();

const { borderWidth, nubOffset, nubSize, side } = fromUser
? {
Expand Down

0 comments on commit 782297d

Please sign in to comment.