remove rule

This commit is contained in:
GleidsonDaniel 2022-05-09 15:22:50 -03:00
parent 06e114416e
commit 7bcfef7059
2 changed files with 5 additions and 5 deletions

View File

@ -13,14 +13,14 @@ interface SidebarItemProps {
text: string;
current?: boolean;
onPress(): void;
test: string;
testID: string;
theme: TSupportedThemes;
}
const Item = React.memo(({ left, right, text, onPress, test, current, theme }: SidebarItemProps) => (
const Item = React.memo(({ left, right, text, onPress, testID, current, theme }: SidebarItemProps) => (
<Touch
key={test}
{...testProps(test)}
key={testID}
{...testProps(testID)}
onPress={onPress}
theme={theme}
style={[styles.item, current && { backgroundColor: themes[theme].borderColor }]}

View File

@ -229,7 +229,7 @@ class Sidebar extends Component<ISidebarProps, ISidebarState> {
theme={theme}
right={<CustomIcon name='edit' size={20} color={themes[theme].titleText} />}
onPress={() => this.sidebarNavigate('StatusView')}
test='sidebar-custom-status'
testID='sidebar-custom-status'
/>
);
};