mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-22 14:21:44 +00:00
Fix eslint error
This commit is contained in:
@@ -6,9 +6,9 @@ const translateProperties = {
|
||||
|
||||
const processTransformValue = (key, value) => {
|
||||
if (translateProperties[key] && typeof value === 'number') {
|
||||
value += 'px';
|
||||
value += 'px'
|
||||
}
|
||||
return value;
|
||||
return value
|
||||
}
|
||||
|
||||
// { scale: 2 } => 'scale(2)'
|
||||
|
||||
Reference in New Issue
Block a user