Skip to content

Commit

Permalink
Remove unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnathan Bell authored and Johnathan Bell committed Oct 29, 2024
1 parent e02a385 commit 3df8129
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions utils/Icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@ import { Platform } from 'react-native';

export const getIconName = (name = '') => {
return name
if (name) {
return Platform.OS === 'ios' ? `ios-${name}` : `md-${name}`;
}
return name;
};

0 comments on commit 3df8129

Please sign in to comment.