Skip to content

Commit c6680d4

Browse files
committed
chore: clean up
1 parent 176571f commit c6680d4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Icon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const Icon = ({
151151
<SettingsConsumer>
152152
{({ icon }) => {
153153
return icon?.({
154-
name: s as any,
154+
name: s,
155155
color: iconColor,
156156
size,
157157
direction,

src/react-navigation/views/MaterialBottomTabView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default function MaterialBottomTabView({
7777
return (
7878
<MaterialCommunityIcon
7979
direction={I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'}
80-
name={options.tabBarIcon as any}
80+
name={options.tabBarIcon}
8181
color={color}
8282
size={24}
8383
/>

0 commit comments

Comments
 (0)