remove rule
This commit is contained in:
parent
06e114416e
commit
7bcfef7059
|
@ -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 }]}
|
||||
|
|
|
@ -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'
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue