Skip to content

Commit 85adf5a

Browse files
committed
Disable debugging to console
1 parent e32177a commit 85adf5a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Badge.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
ViewStyle,
1111
} from 'react-native';
1212

13-
import { clamp, debug, getBadgeValue } from './helpers';
13+
import { clamp, getBadgeValue } from './helpers';
1414

1515
const MIN_SIZE = 15;
1616
const MAX_SIZE = 45;
@@ -122,7 +122,7 @@ const Badge = ({
122122
});
123123
}
124124

125-
debug('RENDER <Badge>', value);
125+
// debug('RENDER <Badge>', value);
126126

127127
return (
128128
<Animated.View {...props} style={[rootStyles, style]}>

src/Userpic.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212

1313
import Initials from './Initials';
1414
import Badge, { Props as BadgeProps } from './Badge';
15-
import { clamp, colorScheme, debug, getGravatarSource } from './helpers';
15+
import { clamp, colorScheme, getGravatarSource } from './helpers';
1616

1717
const DEFAULT_COLOR = colorScheme('#aeaeb2', '#636366');
1818
const DEFAULT_SOURCE: ImageSourcePropType = require('./assets/default.png');
@@ -64,7 +64,7 @@ const Userpic = ({
6464
setImageSource(defaultSource);
6565
}, [defaultSource]);
6666

67-
debug('RENDER <Userpic>', name || email || imageSource);
67+
// debug('RENDER <Userpic>', name || email || imageSource);
6868

6969
return (
7070
<View {...props} style={[styles.root, { width: size, height: size }]}>

0 commit comments

Comments
 (0)