Skip to content

Commit f57b031

Browse files
committed
chore: 귀찮은 log 빼자
1 parent 3e154bd commit f57b031

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/components/Spacer/index.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import React from 'react';
66
import { View, ViewStyle } from 'react-native';
77
import { Spacing, spacing } from '../../theme';
8-
import { isNilOrEmpty } from '../../utils';
98

109
interface SpacerDirection {
1110
/**
@@ -74,9 +73,5 @@ export function Spacer(props: SpacerProps) {
7473
direction === 'both' || direction === 'vertical' ? value : undefined,
7574
};
7675

77-
if (__DEV__ && isNilOrEmpty(value)) {
78-
console.warn(`Spacer component's value is nil or empty!`);
79-
}
80-
8176
return <View style={style} {...rest} />;
8277
}

0 commit comments

Comments
 (0)