Skip to content
Permalink
Browse files

AppBadge: rename internal variable names to be AppBadge (#590)

* AppBadge: rename internal variable names to be AppBadge
* AppBadge: mark appAddress as non-required
  • Loading branch information...
sohkai committed Sep 10, 2019
1 parent 5cb8309 commit ddbdb2982bac837b402aab797064dac659db043a
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/components/AppBadge/AppBadge.js
@@ -9,7 +9,7 @@ import { Tag } from '../Tag/Tag'
import AppBadgePopover from './AppBadgePopover'
import iconDefaultSvg from './assets/app-default.svg'

const IdentityBadge = React.memo(function IdentityBadge({
const AppBadge = React.memo(function AppBadge({
appAddress,
badgeOnly,
compact,
@@ -99,8 +99,8 @@ const IdentityBadge = React.memo(function IdentityBadge({
</BadgeBase>
)
})
IdentityBadge.propTypes = {
appAddress: PropTypes.string.isRequired,
AppBadge.propTypes = {
appAddress: PropTypes.string,
badgeOnly: PropTypes.bool,
compact: PropTypes.bool,
iconSrc: PropTypes.string,
@@ -136,4 +136,4 @@ Icon.propTypes = {
src: PropTypes.string.isRequired,
}

export default IdentityBadge
export default AppBadge

0 comments on commit ddbdb29

Please sign in to comment.
You can’t perform that action at this time.